summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2006-04-26Remove unused _exists() function. It is not even used in my evil filter treeClaudio Jeker
so I doubt I will need it anytime soon. Additionally I think that the interface is dangerous as it bypasses the ref-counting.
2006-04-26Last argument to send_filterset() is a left-over from one of my not so cleverClaudio Jeker
ideas that will never be included and always set to 0. Kill it.
2006-04-26Remove filterset_names from bgpd.h and replace it with a function becauseClaudio Jeker
the table was already out of sync now. OK henning@
2006-04-25kill unused old debug code.Esben Norby
ok claudio@
2006-04-25Mark fatal and fatalx as __dead from deraadt@Claudio Jeker
2006-04-25Mark fatal and fatalx as __dead from a similar diff for bgpd from deraadt@Claudio Jeker
2006-04-25Use size_t for buffer lenght passed to send_ls_ack() plus an ARGSUSED.Claudio Jeker
2006-04-25Kill unused function and add a ARGSUSED.Claudio Jeker
2006-04-25Path the length of the packet as size_t to in_cksum(). Enforce that theClaudio Jeker
passed size is not bigger than 2^16 (limit of the used algorithm). This removes some more lint warnings and makes sense.
2006-04-25The return value of lsa_num_links is an u_int16_t tnd not int. Found by lint.Claudio Jeker
2006-04-25More lint cleanup. Kill unneeded stuff and sprinkle some ARGSUSED.Claudio Jeker
2006-04-25ARGSUSED for event handler.Claudio Jeker
2006-04-25Mark event handlers with ARGSUSED to please lint.Claudio Jeker
2006-04-24Fix parser to match current behaviour and make auth-type et al. part of theClaudio Jeker
global and per area defaults. With this it is now possible to define one set of auth-md keys and use them in every defined interface. OK norby@
2006-04-22Set signal handlers directly after the fork(2), so that we avoidMoritz Jodeit
situations, where the privileged child dies before the unprivileged parent has set a signal handler for SIGCHLD. ok deraadt@ canacar@
2006-04-22Remove remaining stuff from state QUIT, adjust some commentsMoritz Jodeit
and close a fd leak in read_infile(). ok deraadt@
2006-04-22Pass over the right object to OpenBSD::Delete::validate_plist().Bernd Ahlers
This fixes an error while checking for collision with old libs. okay espie@
2006-04-21Add comments to please lint. No code changes. OK deraadtChad Loder
2006-04-21Add IFT_PPP to the iftype to ifmedia type conversion function. Now P2P linksClaudio Jeker
will show the correct link state. While there do some cleanup and shorten the output if the media or link state is unknown.
2006-04-21attr_init() should use attrhashsize and not pathhashsize. Found via a lintClaudio Jeker
cleanup diff from deraadt@.
2006-04-21msgbuf_writebound() and msgbuf_bounded() are leftovers from some ancientClaudio Jeker
mrt dump code. These functions are no longer used since we switched to filedescriptor passing. From deraadt@
2006-04-21Remove function prototype that was never used. From deraadt@Claudio Jeker
2006-04-21ami sysctl diff; from michael knudsenJason McIntyre
ok dlg
2006-04-20list must be sortedTheo de Raadt
2006-04-20Simplify the defaults handling. This is long overdue and necessary to addClaudio Jeker
auth-type et al. to the main and area blocks. OK norby@
2006-04-20More delint. -mojMats O Jansson
2006-04-18Remove "S" from getopt(3) string, which was added in 1.32 by mistake.Moritz Jodeit
From Steffen Wendzel. ok henning@
2006-04-18cannot see the string self in the ANNOUNCE STRING prod any more sinceHenning Brauer
self is a token now
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@