summaryrefslogtreecommitdiffstats
path: root/pbrd
diff options
context:
space:
mode:
authorStephen Worley <sworley@nvidia.com>2021-01-29 18:37:17 +0100
committerStephen Worley <sworley@nvidia.com>2021-02-01 19:32:38 +0100
commitb74a0a33f3734a772b315323ce5265fce4715c58 (patch)
treee5795372a9e67bd93c21fadf63dec23a12a39bac /pbrd
parentdoc: add pbr debug command docs (diff)
downloadfrr-b74a0a33f3734a772b315323ce5265fce4715c58.tar.xz
frr-b74a0a33f3734a772b315323ce5265fce4715c58.zip
pbrd: remove extraneous break
Remove extraneous break. Not needed after goto. Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to 'pbrd')
-rw-r--r--pbrd/pbr_nht.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pbrd/pbr_nht.c b/pbrd/pbr_nht.c
index 5b79a3d21..7a814bd72 100644
--- a/pbrd/pbr_nht.c
+++ b/pbrd/pbr_nht.c
@@ -727,14 +727,12 @@ pbr_nht_individual_nexthop_gw_update(struct pbr_nexthop_cache *pnhc,
case NEXTHOP_TYPE_IPV4:
case NEXTHOP_TYPE_IPV6:
goto done;
- break;
case NEXTHOP_TYPE_IFINDEX:
case NEXTHOP_TYPE_IPV4_IFINDEX:
case NEXTHOP_TYPE_IPV6_IFINDEX:
if (pnhc->nexthop.ifindex == pnhi->ifp->ifindex)
is_valid = if_is_up(pnhi->ifp);
goto done;
- break;
}
goto done;