summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_snmp.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-02-01 21:13:16 +0100
committerhasso <hasso>2005-02-01 21:13:16 +0100
commitf418446bb767d79438e2df689c5bf9563c54b317 (patch)
treea1c7322c8b54e46a09bf2f402537277fff59c1c3 /bgpd/bgp_snmp.c
parent2005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> (diff)
downloadfrr-f418446bb767d79438e2df689c5bf9563c54b317.tar.xz
frr-f418446bb767d79438e2df689c5bf9563c54b317.zip
* bgp_nexthop.c: Improve debug.
* bgpd.[ch], bgp_nexthop.c, bgp_snmp.c: Remove useless bgp_get_master() function. * bgp_packet.c: MP AFI_IP update and withdraw parsing. * bgp_fsm.c: Reset peer synctime in bgp_stop(). bgp_fsm_change_status() is better place to log about peer status change than bgp_event(). Log in bgp_connect_success(). * bgp_vty.c: Fix typo in comment. * bgp_attr.c: Better log about unknown attribute. [merge from GNU Zebra]
Diffstat (limited to 'bgpd/bgp_snmp.c')
-rw-r--r--bgpd/bgp_snmp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bgpd/bgp_snmp.c b/bgpd/bgp_snmp.c
index 6ffadf9cd..228060a0f 100644
--- a/bgpd/bgp_snmp.c
+++ b/bgpd/bgp_snmp.c
@@ -870,11 +870,6 @@ bgpTrapBackwardTransition (struct peer *peer)
void
bgp_snmp_init ()
{
- struct bgp_master *bm;
-
- if ( !(bm = bgp_get_master ()) )
- return;
-
smux_init (bm->master);
REGISTER_MIB("mibII/bgp", bgp_variables, variable, bgp_oid);
}