summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_nexthop.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-08-05 16:52:52 +0200
committerPaul Jakma <paul@quagga.net>2012-01-08 12:30:55 +0100
commit8e80bdf20f493a71bcf74262ed3aa3a2437f4df6 (patch)
treeb1ebddbda4b8f12a28c3ce6299ebe931105a25b6 /bgpd/bgp_nexthop.h
parentlib/if: trivial, fix rarely used if debug function to print everything (diff)
downloadfrr-8e80bdf20f493a71bcf74262ed3aa3a2437f4df6.tar.xz
frr-8e80bdf20f493a71bcf74262ed3aa3a2437f4df6.zip
bgpd: touch nexthop handling code
bgp_nexthop_lookup_ipv6(): declare variables where they are actually used, drop no-op initialization (the field is already 0) bgp_nexthop_lookup(): ditto bgp_nexthop_check_ebgp(): rename to bgp_nexthop_onlink() bgp_nexthop_cache_changed(): rename to bgp_nexthop_cache_different()
Diffstat (limited to 'bgpd/bgp_nexthop.h')
-rw-r--r--bgpd/bgp_nexthop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_nexthop.h b/bgpd/bgp_nexthop.h
index 2dad742ff..874f3bba0 100644
--- a/bgpd/bgp_nexthop.h
+++ b/bgpd/bgp_nexthop.h
@@ -54,7 +54,7 @@ extern void bgp_connected_add (struct connected *c);
extern void bgp_connected_delete (struct connected *c);
extern int bgp_multiaccess_check_v4 (struct in_addr, char *);
extern int bgp_config_write_scan_time (struct vty *);
-extern int bgp_nexthop_check_ebgp (afi_t, struct attr *);
+extern int bgp_nexthop_onlink (afi_t, struct attr *);
extern int bgp_nexthop_self (afi_t, struct attr *);
#endif /* _QUAGGA_BGP_NEXTHOP_H */