summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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
2006-04-01when I initially hacked sensorsd, sensors started at hw.sensors.0 andHenning Brauer
there were no gaps ever. these days, we can have holes or start later. so on start scan 0..255 and do not abort if there's no entry, probe 'em all. found and analyzed by Sam Chill <samchill@gmail.com>, ok theo
2006-03-31Plug memory leak on error path; ok ho@ moritz@Patrick Latifi
2006-03-31kill trailing whitespace;Jason McIntyre
2006-03-31lintTheo de Raadt
2006-03-30i am stunned how little was needed to make lint happy in thisTheo de Raadt
terrible place
2006-03-30For correct operation, ospfd needs net.inet.ip.forwarding=1 so add aClaudio Jeker
caveat about that. help jmc@ OK norby@
2006-03-30Add a warning about "fib-update no" similar to the fib decouple descriptionClaudio Jeker
in ospfctl(8). help jmc@ OK norby@
2006-03-28better way to print the management address, add support for ipv6 addresses.Reyk Floeter
ok deraadt@
2006-03-28it doesn't need full words, shorter outputReyk Floeter
suggested by deraadt@
2006-03-28Add a simple printer for IEEE 802.1AB LLDP, the Link Layer DiscoveryReyk Floeter
Protocol. LLDP is used by some switch vendors as a replacement for the non-free Cizzco Discovery Protocol (CDP) due to some Cisco patentry... ok brad@
2006-03-27Check for syncer vnodes before the file system specific routine getsPedro Martelletto
called, so that we handle NFS and ext2fs as well, okay deraadt@.
2006-03-27More specific warning.Claudio Jeker
2006-03-26Pretty-print addresses on 64-bit architectures; with input and ok deraadt@Uwe Stuehler
2006-03-26add mime type for atomHenning Brauer
From: "Alex Holst" <a@mongers.org> "It's the brave new world of rss/atom feeds. It's what the kids want."
2006-03-26nat, rdr, binat and scrub are valid pf actions to filter onCamiel Dobbelaar
ok dhartmei
2006-03-26Back out -r1.59. I did not follow the process.Uwe Stuehler
2006-03-26Set the width of address columns based on the machine word width.Uwe Stuehler
pedro@ likes the diff.
2006-03-26Show the neighbor uptime in "show nei detail".Esben Norby
ok claudio@