diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c index f598b2645c..16ae0ee2b3 100644 --- a/pbrd/pbr_vty.c +++ b/pbrd/pbr_vty.c @@ -313,10 +313,11 @@ DEFPY (pbr_policy, pbrm = pbrm_find(mapname); if (!pbr_ifp) { - /* - * Some one could have fat fingered the interface - * name - */ + /* we don't want one and we don't have one, so... */ + if (no) + return CMD_SUCCESS; + + /* Some one could have fat fingered the interface name */ pbr_ifp = pbr_if_new(ifp); }