summaryrefslogtreecommitdiff
path: root/zebra/zebra_static.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-03-09 18:05:03 +0100
committerGitHub <noreply@github.com>2018-03-09 18:05:03 +0100
commit58e7db106d5907cb129fcc316f02ce0bf34e3885 (patch)
tree2d7e276495810fae9059b4e84694d994360b14a2 /zebra/zebra_static.c
parentc67667e74cfbb4e4f2edd3b70609cf9716d5c432 (diff)
parentb6c5d34354c7153bebd2c51e89fd2e32f0dc343c (diff)
Merge pull request #1813 from donaldsharp/pbr_setup
Pbr setup
Diffstat (limited to 'zebra/zebra_static.c')
-rw-r--r--zebra/zebra_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_static.c b/zebra/zebra_static.c
index b4c5b70da0..f3921790a6 100644
--- a/zebra/zebra_static.c
+++ b/zebra/zebra_static.c
@@ -300,7 +300,7 @@ void static_uninstall_route(afi_t afi, safi_t safi, struct prefix *p,
}
/* Lookup nexthop. */
- for (nexthop = re->nexthop; nexthop; nexthop = nexthop->next)
+ for (nexthop = re->ng.nexthop; nexthop; nexthop = nexthop->next)
if (static_nexthop_same(nexthop, si))
break;