diff options
Diffstat (limited to 'zebra/zebra_static.c')
| -rw-r--r-- | zebra/zebra_static.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/zebra_static.c b/zebra/zebra_static.c index 914b049c05..24160655d7 100644 --- a/zebra/zebra_static.c +++ b/zebra/zebra_static.c @@ -516,7 +516,9 @@ int static_add_route(afi_t afi, safi_t safi, uint8_t type, struct prefix *p, if (ifp && ifp->ifindex != IFINDEX_INTERNAL) { si->ifindex = ifp->ifindex; static_install_route(afi, safi, p, src_p, si); - } + } else + zlog_warn("Static Route using %s interface not installed because the interface does not exist in specified vrf", + ifname); } return 1; |
