OpenBSD/src 7HsoG94 — usr.sbin/bgpd kroute.c util.c
Media and link states are highly OS dependent, to make porting easier export the interface info in a way that does not need OS specific functions to print it. Link state and media are now strings that are set by bgpd. bgpctl can just print them. Move get_linkstate and get_media_descr to kroute.c where all other system specific stuff is. OK sthen@
Version | Delta | File | |
---|---|---|---|
1.233 | +82 | -4 | usr.sbin/bgpd/kroute.c |
1.46 | +10 | -58 | usr.sbin/bgpd/util.c |
1.374 | +15 | -8 | usr.sbin/bgpd/bgpd.h |
+107 | -70 | 3 files |