diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-30 17:23:01 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-30 17:27:11 +0200 |
commit | 60466a63f2a3c1da8c99721ec018c8b73610b548 (patch) | |
tree | 62153f2941a8ba88c0ffd2070ad6749d7730a34d /zebra/connected.c | |
parent | Merge pull request #1059 from opensourcerouting/oldbits-1 (diff) | |
download | frr-60466a63f2a3c1da8c99721ec018c8b73610b548.tar.xz frr-60466a63f2a3c1da8c99721ec018c8b73610b548.zip |
*: fix style
Fixes style nits introduced by recent pull requests.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/connected.c')
-rw-r--r-- | zebra/connected.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/zebra/connected.c b/zebra/connected.c index c97962647..7176ce70b 100644 --- a/zebra/connected.c +++ b/zebra/connected.c @@ -208,8 +208,7 @@ void connected_up_ipv4(struct interface *ifp, struct connected *ifc) { struct prefix p; struct nexthop nh = { - .type = NEXTHOP_TYPE_IFINDEX, - .ifindex = ifp->ifindex, + .type = NEXTHOP_TYPE_IFINDEX, .ifindex = ifp->ifindex, }; if (!CHECK_FLAG(ifc->conf, ZEBRA_IFC_REAL)) @@ -340,8 +339,7 @@ void connected_down_ipv4(struct interface *ifp, struct connected *ifc) { struct prefix p; struct nexthop nh = { - .type = NEXTHOP_TYPE_IFINDEX, - .ifindex = ifp->ifindex, + .type = NEXTHOP_TYPE_IFINDEX, .ifindex = ifp->ifindex, }; if (!CHECK_FLAG(ifc->conf, ZEBRA_IFC_REAL)) @@ -432,8 +430,7 @@ void connected_up_ipv6(struct interface *ifp, struct connected *ifc) { struct prefix p; struct nexthop nh = { - .type = NEXTHOP_TYPE_IFINDEX, - .ifindex = ifp->ifindex, + .type = NEXTHOP_TYPE_IFINDEX, .ifindex = ifp->ifindex, }; if (!CHECK_FLAG(ifc->conf, ZEBRA_IFC_REAL)) @@ -516,8 +513,7 @@ void connected_down_ipv6(struct interface *ifp, struct connected *ifc) { struct prefix p; struct nexthop nh = { - .type = NEXTHOP_TYPE_IFINDEX, - .ifindex = ifp->ifindex, + .type = NEXTHOP_TYPE_IFINDEX, .ifindex = ifp->ifindex, }; if (!CHECK_FLAG(ifc->conf, ZEBRA_IFC_REAL)) |