summaryrefslogtreecommitdiff
path: root/lib/ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ip.c')
-rw-r--r--lib/ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ip.c b/lib/ip.c
index 791a6013..aa61553e 100644
--- a/lib/ip.c
+++ b/lib/ip.c
@@ -27,9 +27,9 @@
char *
ip_scope_text(unsigned scope)
{
- static char *scope_table[] = { "host", "link", "site", "org", "univ" };
+ static char *scope_table[] = { "host", "link", "site", "org", "univ", "undef" };
- if (scope > SCOPE_UNIVERSE)
+ if (scope > SCOPE_UNDEFINED)
return "?";
else
return scope_table[scope];