summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2006-03-16KNF. No binary change.Claudio Jeker
2006-03-16Make ifstated handle config reloads after a parse error. Fixes PR5051Ryan Thomas McBride
Fix from Michael Knudsen.
2006-03-16Error out of ifstate.conf parsing instead of dumping core in operationRyan Thomas McBride
when a undefined ruleset is referenced. Fixes PR5049. Report and troubleshooting from Michael Knudsen.
2006-03-16Kill useless arguments to libevent *_set() functions.Ryan Thomas McBride
ok mpf@
2006-03-15consistently use power *states* and performance *modes*Nikolay Sturm
ok beck, mickey
2006-03-15In nexthop_compare() if the two passed pointers point to the same objectClaudio Jeker
the odds are better than good that there is no difference.
2006-03-15There is no need to check iface != NULL. These parser rules are only allowedClaudio Jeker
if iface is set and so the check is superfluous. OK norby@
2006-03-15Looks like auth-type simple was busted since a long time. We bcmp() aClaudio Jeker
c string with a lenght <= 8 with a buffer of size 8. Now in some cases there can be trailing garbage after the c-string and so the bcmp() fails. Found by Sergey Matveychuk who provided a similar patch. OK norby@
2006-03-15Sync usage with man page (sort arguments).Claudio Jeker
2006-03-15Document new -s path option to select an alternate path for the main controlClaudio Jeker
socket.
2006-03-15Allow the control socket to be changed on the command line. Useful if youClaudio Jeker
need to run multiple bgpds on a single box to simulate a IX. This helped me massivly debugging error reports. OK henning@
2006-03-15Fix a memory leak when communities are set or deleted. This seems to fixClaudio Jeker
Sylvain Coutant memory issues. A lot of patience and testing by Sylvain.
2006-03-15Add missing function declarationsDavid Hill
Sprinkle some const OK beck@
2006-03-14#ifdef DEBUG not #if DEBUGTheo de Raadt
2006-03-14install these on amd64Nikolay Sturm
even though amd64 does not have apm support, this change permits hw.setperf manipulations via apm/apmd
2006-03-14fix sentence to make sense.Bob Beck
ok millert@ jmc@ ketennis@ and others from before 3.9 lock
2006-03-14fix incorrect sizeof(), spotted by ckuetheBob Beck
ok deraadt@
2006-03-14Some more usage of const and correct fmt string for a size_t.Moritz Jodeit
From David Hill. ok ray@ jaredy@ otto@
2006-03-14Kill unneeded util.h include.Claudio Jeker
2006-03-13tiny bit of delinting; ok krw@Otto Moerbeek
2006-03-13delint; from David HillOtto Moerbeek
2006-03-13Simplify error() and warning() a bit. From Alexey Dobriyan.Moritz Jodeit
ok jaredy@ otto@
2006-03-13Fix for PR 5052. Be more careful about the announced networks we accept.Claudio Jeker
Make sure that at least the address family and the prefix length are sane. Reported and fix tested by Pete Vickers.
2006-03-13cleanup from dhillTheo de Raadt
2006-03-13clean-up some name handling:Marc Espie
- package locations always contain a pkgname (except if we don't have it) - complete it on the repository side to grab the right file. - no need to pass pkgname/arch on $location->grabPlist(), since it's already in the location.
2006-03-13repair pkg_add -Marc Espie
2006-03-13The return value of the start/stop timer functions is almost never checked.Claudio Jeker
Switch them to void functions and check if evtimer_add/del fails -- in which case we fatal() as there is no useful way to recover in such an event. OK norby@
2006-03-12missing close(); dhill@mindcry.orgTheo de Raadt
2006-03-12more getopt() EOF crud; adobriyan@gmailTheo de Raadt
2006-03-10print IAPP messages for the old IAPP port 2313.Reyk Floeter
2006-03-10add whitespaceReyk Floeter
2006-03-10some IAPP implementations still use the pre-standard port 2313 in broadcastReyk Floeter
mode (tested with the HP ProCurve 420wl). add a note to the manual page and the example configuration.
2006-03-10Avoid printing the whole file in the error message on missing trailing "Otto Moerbeek
Found by by mpech@; ok mpech@ ray@ miod@
2006-03-09Track interface uptime.Esben Norby
ok claudio@
2006-03-09Add some NOTREACHED to please lint.Claudio Jeker
2006-03-09More spring cleaning with lint. Change a few types and add some comments toClaudio Jeker
help lint.
2006-03-09It seems that 60 secs is a reasonable amount of time to reach state FULL.Esben Norby
2006-03-09Start using *_name function that are now shared between ospfd and ospfctl.Claudio Jeker
OK norby@
2006-03-09Move *_name functions to log.c and use these for both ospfd and ospfctl.Claudio Jeker
Stuff that is only used in ospfd debug messages is simplified. OK norby@
2006-03-09Correctly warn about unsupported interface types as it is done in other places.Claudio Jeker
2006-03-09KNF, remove some unneded type casts and add some ARGSUSED. This makes lintClaudio Jeker
almost happy.
2006-03-09Mark event callbacks with ARGSUSED to silence lint.Claudio Jeker
2006-03-09Switch send_packet from char * to void * and from int to size_t. The functionClaudio Jeker
is now similar to sendto et al.
2006-03-09in_cksum() should return a u_int16_t and not int. Switch a variable toClaudio Jeker
unsigned. Found by lint.
2006-03-09if_event_names is only used by interface.c so move it there.Claudio Jeker
2006-03-09Log link state changes.Esben Norby
ok claudio@
2006-03-08Remove unused quit flag inherited from bgpd long ago.Claudio Jeker
2006-03-08Cleanup with lint. Kill unused variable and fix some types.Claudio Jeker
2006-03-08Move procnames from log.h to log.c it is only used there.Claudio Jeker
2006-03-08Spaces and other minor cleanup.Claudio Jeker