summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_network.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-06 07:49:02 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-06 08:00:12 +0100
commit975a328e2eb3d1bea5fbc3c232580dd4739d59f0 (patch)
tree587e51ff3bbf8dc368ecd1c414615d19ff5139ae /eigrpd/eigrp_network.c
parentMerge pull request #5761 from qlyoung/fix-bgp-gr-cruft (diff)
downloadfrr-975a328e2eb3d1bea5fbc3c232580dd4739d59f0.tar.xz
frr-975a328e2eb3d1bea5fbc3c232580dd4739d59f0.zip
*: Replace s_addr 0 => INADDR_ANY
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'eigrpd/eigrp_network.c')
-rw-r--r--eigrpd/eigrp_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_network.c b/eigrpd/eigrp_network.c
index 324f30929..39008a01c 100644
--- a/eigrpd/eigrp_network.c
+++ b/eigrpd/eigrp_network.c
@@ -230,7 +230,7 @@ int eigrp_network_set(struct eigrp *eigrp, struct prefix *p)
rn->info = (void *)pref;
/* Schedule Router ID Update. */
- if (eigrp->router_id.s_addr == 0)
+ if (eigrp->router_id.s_addr == INADDR_ANY)
eigrp_router_id_update(eigrp);
/* Run network config now. */
/* Get target interface. */