summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_nexthop.c2
-rw-r--r--bgpd/bgp_nexthop.h2
-rw-r--r--bgpd/bgp_nht.h2
-rw-r--r--bgpd/bgp_route.c1
-rw-r--r--bgpd/bgp_zebra.c1
5 files changed, 5 insertions, 3 deletions
diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c
index 39d2c641..2a23d253 100644
--- a/bgpd/bgp_nexthop.c
+++ b/bgpd/bgp_nexthop.c
@@ -109,7 +109,7 @@ bnc_nexthop_free (struct bgp_nexthop_cache *bnc)
}
struct bgp_nexthop_cache *
-bnc_new ()
+bnc_new (void)
{
struct bgp_nexthop_cache *bnc;
diff --git a/bgpd/bgp_nexthop.h b/bgpd/bgp_nexthop.h
index abcf2426..361c0f1d 100644
--- a/bgpd/bgp_nexthop.h
+++ b/bgpd/bgp_nexthop.h
@@ -73,7 +73,7 @@ extern int bgp_config_write_scan_time (struct vty *);
extern int bgp_nexthop_onlink (afi_t, struct attr *);
extern int bgp_nexthop_self (struct attr *);
extern void bgp_address_init (void);
-extern struct bgp_nexthop_cache *bnc_new();
+extern struct bgp_nexthop_cache *bnc_new(void);
extern void bnc_free(struct bgp_nexthop_cache *bnc);
extern void bnc_nexthop_free(struct bgp_nexthop_cache *bnc);
extern char *bnc_str(struct bgp_nexthop_cache *bnc, char *buf, int size);
diff --git a/bgpd/bgp_nht.h b/bgpd/bgp_nht.h
index 0e43f0a4..41c2b85b 100644
--- a/bgpd/bgp_nht.h
+++ b/bgpd/bgp_nht.h
@@ -25,7 +25,7 @@
/**
* bgp_parse_nexthop_update() - parse a nexthop update message from Zebra.
*/
-extern void bgp_parse_nexthop_update();
+extern void bgp_parse_nexthop_update(void);
/**
* bgp_find_nexthop() - lookup the nexthop cache table for the bnc object
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 2453803f..f28e30c5 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -1582,6 +1582,7 @@ bgp_process_main (struct work_queue *wq, void *data)
CHECK_FLAG (old_select->flags, BGP_INFO_MULTIPATH_CHG))
bgp_zebra_announce (p, old_select, bgp, safi);
+ UNSET_FLAG (old_select->flags, BGP_INFO_IGP_CHANGED);
UNSET_FLAG (old_select->flags, BGP_INFO_MULTIPATH_CHG);
UNSET_FLAG (rn->flags, BGP_NODE_PROCESS_SCHEDULED);
return WQ_SUCCESS;
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c
index c45b04f5..c17bf531 100644
--- a/bgpd/bgp_zebra.c
+++ b/bgpd/bgp_zebra.c
@@ -39,6 +39,7 @@ Boston, MA 02111-1307, USA. */
#include "bgpd/bgp_debug.h"
#include "bgpd/bgp_mpath.h"
#include "bgpd/bgp_nexthop.h"
+#include "bgpd/bgp_nht.h"
/* All information about zebra. */
struct zclient *zclient = NULL;