summaryrefslogtreecommitdiff
path: root/lib/prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prefix.c')
-rw-r--r--lib/prefix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/prefix.c b/lib/prefix.c
index 8948a2ac19..19cf7dd8f9 100644
--- a/lib/prefix.c
+++ b/lib/prefix.c
@@ -880,6 +880,10 @@ prefix2str (union prefixconstptr pu, char *str, int size)
buf, PREFIX2STR_BUFFER),
p->prefixlen);
}
+ else
+ {
+ sprintf (str, "UNK AF_ETHER prefix");
+ }
break;
default:
sprintf (str, "UNK prefix");