summaryrefslogtreecommitdiff
path: root/usr.sbin/bootp/common
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBERlukem
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2021-05-30address-of-packed-member warning is no longer a problem here.joerg
2020-09-06add support for new GCC 9 warnings that may be too much to fixmrg
right now. new address-of-packed-member and format-overflow warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd GCC_NO_FORMAT_OVERFLOW variables to remove these warnings. apply to a bunch of the tree. mostly, these are real bugs that should be fixed, but in many cases, only by removing the 'packed' attribute from some structure that doesn't really need it. (i looked at many different ones, and while perhaps 60-80% were already properly aligned, it wasn't clear to me that the uses were always coming from sane data vs network alignment, so it doesn't seem safe to remove packed without careful research for each affect struct.) clang already warned (and was not erroring) for many of these cases, but gcc picked up dozens more.
2019-02-03- add or adjust /* FALLTHROUGH */ where appropriatemrg
- add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
2018-02-08Typos.dholland
2017-01-11Disable a couple of warnings until further investigation.joerg
2017-01-11Avoid access to unaligned data.joerg
2011-10-07Fix under-allocation-by-onejoerg
2011-01-04Add missing breaks in switch statement. Found by cppcheck.wiz
2009-04-15Fix -Wsign-compare issueslukem
2008-05-03Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this islukem
a variable that is used by in-tree Makefiles to control behaviour. (MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-02WARNS=4xtraeme
2007-05-27For FORTIFY_SOURCE: do not pretend to convert code from b* to mem* bytls
using a #define to turn one into the other, this is pointless and causes more portability issues than it solves (admittedly, in the year 1702 when this code was written the opposite may have been the case).
2007-04-29fix typosmsaitoh
2007-03-10 - Remove unused ctype.h headerhubertf
- Remove unused debug and progname variables - Use return instead of exit() for quiting at end of main() - Print errors to stderr instead of stdout From: Slava Semushin <php-coder@altlinux.ru>
2006-05-23Coverity CID 2448: Remove extra NULL check.christos
2006-02-25Fix some typos.wiz
2004-10-29Add (unsigned char) cast to ctype functionsdsl
2004-05-23Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target andlukem
setting NOLINT, NOPIC, NOPROFILE (etc)
2003-08-18SIOCGIFCONF -> getifaddrs conversionitojun
2003-07-14use boundedd string opsitojun
2003-02-02guarantee, not guarentee. Idea from miod@openbsd.wiz
2003-01-28unknown, not unkown. Noted by mjl.wiz
2002-09-18minor makefile delintlukem
2002-07-14De-register.wiz
2002-07-13ANSIfy. Remove ifndef __STDC__.wiz
2001-12-12MKfoo=no -> NOfootv
2001-08-20precede, not preceed.wiz
2000-10-11More format string cleanups by sommerfeld.is
1999-03-13set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>lukem
1999-02-13convert from NOxxx= to MKxxx=no.lukem
include <bsd.own.mk> if testing a MKxxx variable.
1999-01-11In userland, pull in <errno.h> instead of <sys/errno.h> for the declarationkleink
of errno.
1998-07-26const poisoning.mycroft
1998-04-02Need <time.h> for ctime() prototype.kleink
1998-03-15move (using repository copy) bootp{d,ef,gw,test} into a common hierarchylukem
with a libcommon - to stop unnecessary recompilation of the source. add Makefile* to suit.
1998-03-14warnsifylukem
1998-01-09RCS Id Police.perry
1997-10-18rcsid fascismlukem
1997-03-15New ARP system, supports IPv4 over any hardware link.is
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will only support Ethernet. Tcpdump itself should be ok, but libpcap needs lot of work. For the detailed change history, look at the commit log entries for the is-newarp branch.
1996-06-19Minor fixes sent in since bootp-2.4.3 release:gwr
Correct length arg to haddrtoa() in report of duplicate address. The string value for a generic tag should not include the null. (Including the null in reponses really annoys HP printers!) When reading hardware addresses, allow colon separators (only works if the whole H/W address is in quotes).
1995-07-25Delete (possibly incomplete) ARP table entry before adding.gwr
Thanks to Chritos Zoulas and others. Fixes PR# 1242
1995-07-24Since BSD is defined in sys/param.h, we need to include thatws
1995-05-19Use inet_aton(), not inet_addr().mycroft
1994-12-23play a bit safer with types.cgd
1994-08-24Make this match what I posted on comp.sources.unix as patch 1.gwr
(Functionally the same as yesterday's commit.)
1994-08-22Update to version 2.4gwr
1994-06-27Move this to where the latest consensus indicates it should go.gwr
Also, integrate some fixes from Christos.