summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-03-13 12:08:38 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-03-13 12:08:38 -0400
commit1f35b46a2f35d59b86ed3ee557aa1c9fcf2fcac9 (patch)
tree27de606b3510b126766ac7a0ac9eb8ddf4573ab0 /ripd/rip_interface.c
parentd47ae3db4cf14c72d8468d61113ac88e19235791 (diff)
parentc1a003878246ccc84ab5986558ca959f4545f738 (diff)
Merge branch 'master' into docuser
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index d20954037d..3a773f2451 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -907,19 +907,17 @@ static void rip_connect_set(struct interface *ifp, int set)
* "network IF_OR_PREF" one */
if ((rip_enable_if_lookup(connected->ifp->name) >= 0)
|| (rip_enable_network_lookup2(connected) >= 0))
- rip_redistribute_add(
- ZEBRA_ROUTE_CONNECT,
- RIP_ROUTE_INTERFACE, &address,
- &nh, 0, 0, 0);
+ rip_redistribute_add(ZEBRA_ROUTE_CONNECT,
+ RIP_ROUTE_INTERFACE,
+ &address, &nh, 0, 0, 0);
} else {
rip_redistribute_delete(ZEBRA_ROUTE_CONNECT,
RIP_ROUTE_INTERFACE, &address,
connected->ifp->ifindex);
if (rip_redistribute_check(ZEBRA_ROUTE_CONNECT))
- rip_redistribute_add(
- ZEBRA_ROUTE_CONNECT,
- RIP_ROUTE_REDISTRIBUTE, &address,
- &nh, 0, 0, 0);
+ rip_redistribute_add(ZEBRA_ROUTE_CONNECT,
+ RIP_ROUTE_REDISTRIBUTE,
+ &address, &nh, 0, 0, 0);
}
}
}