summaryrefslogtreecommitdiffstats
path: root/lib/plist.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-04-19 22:08:59 +0200
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-09-03 17:05:51 +0200
commit32ac65d9fa2e9565d4a0251f9e39e8e64526322d (patch)
tree6c979c11fc1770b9e26e984f88d5adbd5a54bd62 /lib/plist.c
parentlib: dump memory stats on core (diff)
downloadfrr-32ac65d9fa2e9565d4a0251f9e39e8e64526322d.tar.xz
frr-32ac65d9fa2e9565d4a0251f9e39e8e64526322d.zip
lib: add AF_ETHERNET/AFI_ETHER
Diffstat (limited to 'lib/plist.c')
-rw-r--r--lib/plist.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/plist.c b/lib/plist.c
index a1289801c..7bb80fa2a 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -958,6 +958,11 @@ vty_prefix_list_install (struct vty *vty, afi_t afi, const char *name,
return CMD_WARNING;
}
break;
+ case AFI_ETHER:
+ default:
+ vty_out (vty, "%% Unrecognized AFI (%d)%s", afi, VTY_NEWLINE);
+ return CMD_WARNING;
+ break;
}
/* ge and le check. */