summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-08-06Use .Dl instead of a literal block when we only have a single line. HasTodd C. Miller
the side effect of fixing some ugly indentation (or the lack thereof).
2004-08-06Fix typo (.Bd that should be .Ed)Todd C. Miller
2004-08-06protect makewhatis calls inside eval.Marc Espie
failing makewhatis should be a warning at best.
2004-08-06use OpenBSD::Makewhatis, avoid forking extra makewhatis.Marc Espie
Note: requires you to update makewhatis to work.
2004-08-06Monster diff to get one step closer to IPv6 support.Claudio Jeker
Cleanup path attribute handling. First of all kill struct attr_flags, all those infos are now in struct rde_aspath. Second move attribute parser functions into rde.c, rde_attr.c is shared between bgpd and bgpctl. Third reimplementation of the nexthop handling. Make it IPv6 ready and fix some major bug relating to "set nexthop". henning@ OK if it breaks nothing
2004-08-06In bgpctl show summary report the current and max prefix count if state isClaudio Jeker
established. OK henning@
2004-08-06Forward IMSG_CTL_SHOW_NEIGHBOR messages to the rde so that we can reportClaudio Jeker
the current and max prefix count back to bgpctl. OK henning@
2004-08-06fix one of the most bizarre bugs in a while...Marc Espie
found by henning@.
2004-08-06@lib shared library marker.Marc Espie
- runs ldconfig to find out search library path. - if library is in path, mark directory for updating cache. - run ldconfig when needed, e.g., right before executing something that might depend on the library. Doesn't handle destdir case yet.
2004-08-06Document filename semantics, @sample, @extra.Marc Espie
Clean up.
2004-08-06unneeded switch to main package.Marc Espie
2004-08-06avoid pulling in OpenBSD::md5 and File::Copy if we can.Marc Espie
2004-08-06block-scoped require is way simpler than weird AUTOLOAD hack.Marc Espie
2004-08-06unified headers, switch to smaller copyright notice.Marc Espie
2004-08-06Extradir name.Marc Espie
Don't bother deleting it if it's not there.
2004-08-06deinstall DirRm like DirBase.Marc Espie
2004-08-05kill 3 lines of unused codeMarc Espie
2004-08-05refactor classes in PackingElement to share more code.Marc Espie
- all files go through FileBase, all directories go through DirBase. - dirclass() is used to switch classes based on final /, so that @sample, @extra, and @file all take directories as well. - set NoDuplicateNames() more thoroughly. - make sure all no-default-conflict objects are correct. compute_fullname() checks for absolute paths, allowed for @sample and @extra. lastfile only gets set for actual files. special names like INSTALL are only checked for normal files. add a CVSTag class for @comment $OpenBSD$, so that these get sorted first. Changes for make-plist rewrite: clone() method that can create copies of all hash objects, to specialize if needed. add_object() method so that add() is now new() followed by add_object() for most objects (useful for cloned objects). Check that plist has a name in pkg_create, allowing PackingList to write unnamed plists.
2004-08-05comapring -> comparing noticed by brad@.Claudio Jeker
2004-08-05The peer_l is not needed in the rde but still allocated, free them andClaudio Jeker
save 1k per peer. OK henning@
2004-08-05As usual cleanup on exit. OK henning@Claudio Jeker
2004-08-05Get rid of some statistics stuff that is no longer needed but helped in theClaudio Jeker
beginning. OK henning@
2004-08-05Cleanup aspath specific functions and api. Mainly switch to a refcnt basedClaudio Jeker
allocation. This helps to save a bit of RAM. looks good henning@
2004-08-05tab at EOLClaudio Jeker
2004-08-05struct prefix has a pointer to the peer so use it everywhere directly insteadClaudio Jeker
of the detour via aspath.
2004-08-05rename and move prefix_equal() to prefix_compare() which returns -1, 0, 1Claudio Jeker
similar to memcmp() and all other compare functions in bgpd. OK henning@
2004-08-05we wanna ignore SIGPIPE here just like in the session engine, claudio okHenning Brauer
2004-08-04session_main() and rde_main() return... right, a pid. and a pid is a pid_tHenning Brauer
and not an int.
2004-08-03Cleanup and remove some ENSURE. OK henning@Claudio Jeker
2004-08-03Make mrt dumps mrt compliant. I already fixed one of those but this oneClaudio Jeker
slipped my attention. Now all bgpd dumps can be read with mrt's route_btoa.
2004-08-03deny hilarious prepends. OK henning@Claudio Jeker
2004-08-03Fix mem-leak on exit. OK henning@Claudio Jeker
2004-08-03Make the code more portable by #ifdef-ing RTF_MPATH. OK henning@Claudio Jeker
2004-08-03forgot mandir. reorder slightly.Marc Espie
2004-08-03Support @sample, tested by fries@.Marc Espie
@mandir and @fontdir keywords recognition.
2004-08-03- kill a rake of unnecessary .Bk/.Ek macrosJason McIntyre
- simplify SYNOPSIS - sort options - adjust -width for FILES - standard EXAMPLES format - sync usage()
2004-08-03add ifconfig(8) Xr and spacing;Jason McIntyre
from Alexey E. Suslikov;
2004-08-03make pstat -f show lockingMichael Coulter
ok art@ tedu@ much help from pedro@
2004-08-02Fix a possible mem leak and add a missing yyerror(). OK henning@Claudio Jeker
2004-08-02Forgot to add "anounce default-route" here. OK henning@Claudio Jeker
2004-08-02@man type file for manpages.Marc Espie
2004-08-02Reuse first component of @newdepends, @libdepends to containMarc Espie
a PKG_PATH (easy backward compatibility: is there a slash ?) That's missing info to enable pkg_add to launch package building in the ports tree as an alternate source of binary packages.
2004-08-01ansi cleanup; khalek@linuxgamers.netTheo de Raadt
2004-07-31Make UseCanonicalName off correctly grab port info fromBrad Smith
the client. Make UseCanonicalName socket port aware. ok henning@
2004-07-30smarten this page up a bit. usage() too.Jason McIntyre
2004-07-30Document "announce default-route" with a lot of help from jmc@Claudio Jeker
2004-07-30setup(n.) -> set up(v.);Jason McIntyre
2004-07-30Add new announce type "default-route" which will only announce the defaultClaudio Jeker
route to the specified neighbor. Idea and OK henning@
2004-07-29Initalize local varible in rde_update_get_prefix or we may end up with funnyClaudio Jeker
prefixes.
2004-07-29don't wipe lease file on startup, found & solution tested nick@Henning Brauer