diff options
Diffstat (limited to 'lib/ip.c')
-rw-r--r-- | lib/ip.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; |