summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2006-04-18struct kif_kr is not used in ospfd.Claudio Jeker
2006-04-18cleanup keyword lookup for the lexer, and remove keywords not valid inTheo de Raadt
either dhclient or dhcpd context; tested by many
2006-04-18Fix "announce self" that got broken by "nexthop self". Found by Thomas Bader.Claudio Jeker
OK henning@
2006-04-18simple variable renaming to please lintTheo de Raadt
2006-04-17initialize program_name before we privsep, otherwise the child does notTheo de Raadt
know our name
2006-04-17Remove 'ipc' in PLT message and replace it with current hostname.Mats O Jansson
Some more code cleanup and make lint happier. -moj
2006-04-17more cleanupTheo de Raadt
2006-04-17fd(4) -> fdc(4). ok jmc@Steven Mestdagh
2006-04-17Make the code lint friendly. -mojMats O Jansson
2006-04-17Only show a interface once. Some cleanup and silence lint. -mojMats O Jansson
2006-04-17setjmp.h not usedTheo de Raadt
2006-04-16Some cleanup and delint. -mojMats O Jansson
2006-04-16cleanup error handling to avoid two memleaks. found and ok pat@Moritz Jodeit
2006-04-16Add on which interface the packet arrived. Some cleanup and delint. -mojMats O Jansson
2006-04-16KNFHenning Brauer
2006-04-16only look at later rt_msghdr fields for those messages actually usingHenning Brauer
rt_msghdr, same as in bgpd, ok claudio norby
2006-04-15Fix some bugs in printing of MOP packets. -mojMats O Jansson
2006-04-13Fix pr 5073, httpd/mod_ssl can leak file descriptors in theBob Beck
case where an ssl connection is not found in the scache dbm Reported by, and fix suggested by Darrin Chandler <darrin@puffy.asicommunications.com> testing by me, ok henning@
2006-04-12If /dev/apm does not respond, use a fake (pre-built) response packetTheo de Raadt
that can be printed. This makes apm(8) act the same whether talking to apmd(8) or directly to a (potentially non-functioning) /dev/apm. ok kettenis
2006-04-12do not pass uninitialized variable cpuspeed up; ok kettenisTheo de Raadt
2006-04-12messages on the routing socket have different headers - rt_msghdr,Henning Brauer
if_msghdr, etc. they only share the first 3 fields, and then differ. this leads to a bug in RTM_IFINFO handling. We did abort on rtm->rtm_errno != 0, but if_msghdr has no errno, so we look at something in the data part instead. Surprising that this didn't bite us before! So we must only do these checks for RTM_ADD/CHANGE/DELETE that actually use rt_msghdr. found whiel checking strange behaviour tony sarendal <dualcyclone@gmail.com> saw, and then totally strange behaviour on my amd64 hackbox. claudio ok
2006-04-12It is no longer allowed to change attributes in place. This corrupts theClaudio Jeker
attribute cache. Instead remove attribute and readd it after beeing changed. This should fix the "att_diff: equal attributes encountered" error seen by Tony Sarendal. OK henning@
2006-04-12delintDavid Hill
ok beck@
2006-04-08Add missing 'use OpenBSD::Error'.Bernd Ahlers
spotted by marco@ 'go ahead' espie@
2006-04-08Whack some obviously dead code (double return's, code after goto).Kenneth R Westerback
ok pedro@
2006-04-08Plug memory leak when nitems == 0.Ray Lai
From NetBSD from Coverity CID 1752. OK jaredy@
2006-04-08Since moritz@ says, ``this can't happen, because no fmt stringRay Lai
passed to fdata() uses a T-value not caught by the switch,'' change to a fatal error. OK jaredy@ and moritz@
2006-04-07Add default case to prevent uninitialized variable usage, althoughRay Lai
moritz@ says ``this can't happen, because no fmt string passed to fdata() uses a T-value not caught by the switch.'' From NetBSD from Coverity CID 2491. OK otto@ and moritz@
2006-04-06Add missing break. Now bgpctl show rib det source-as 8271 shows all announcedClaudio Jeker
prefixes not only the first one.
2006-04-06Document show rib detail and friends. Some input by jmc@ getting dust in oneClaudio Jeker
of my trees since a few weeks.
2006-04-05resolve conflictsJakob Schlyter
2006-04-05regen using autoconf 2.59Jakob Schlyter
2006-04-05resolve conflictsJakob Schlyter
2006-04-05ISC BIND release 9.3.2Jakob Schlyter
2006-04-05remote_bgpid is stored in host byte order so a htonl() is needed when puttingClaudio Jeker
the value on the wire. This solves the backward originator-ids seend by Tony Sarendal. OK henning@
2006-04-05Reap childs asynchronously in the signal handler.Alexander Yurchenko
Diff from Alexey Vatchenko <avv@mail.zp.ua>.
2006-04-05ARGSUSED for signal handler to please lint.Alexander Yurchenko
2006-04-04dead code removalHenning Brauer
2006-04-04document set nexthop self, and improve that section whil eon it, claudio okHenning Brauer
2006-04-04add "set nexthop self", force nexthop to be set to own address even with IBGPHenning Brauer
requested & tested Falk Brockerhoff <fb@smartterra.de>, and tony sarendal tested this too. claudio ok
2006-04-04nuke bundled regex lib, we have and always used the OpenBSD one of courseHenning Brauer
From: Daniel Ouellet <daniel@presscom.net>
2006-04-04rip out bundled dbm, we've always used our dbmHenning Brauer
From: Daniel Ouellet <daniel@presscom.net>
2006-04-03Change an int to size_tDavid Hill
Remove NEW() Remove unused return value of add_tty() ok moritz@
2006-04-03more careful getting port numberTheo de Raadt
2006-04-03spreading the lint love (very minimal things..)Theo de Raadt
2006-04-03some more malloc(x * y); bzero() -> calloc(x, y) whacking fromDamien Miller
adobriyan AT gmail.com
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2006-04-02#ifdef lint not LINTTheo de Raadt
2006-04-02#ifdef lint not LINTTheo de Raadt
2006-04-02use SEEK_* for lseek()Theo de Raadt