summaryrefslogtreecommitdiffstats
path: root/pbrd
diff options
context:
space:
mode:
Diffstat (limited to 'pbrd')
-rw-r--r--pbrd/pbr_vty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c
index c8c3ed330..02902fd00 100644
--- a/pbrd/pbr_vty.c
+++ b/pbrd/pbr_vty.c
@@ -494,6 +494,9 @@ DEFPY (show_pbr_interface,
FOR_ALL_INTERFACES(vrf, ifp) {
struct pbr_map *pbrm;
+ if (!ifp->info)
+ continue;
+
if (name && strcmp(ifp->name, name) != 0)
continue;