]>
git.ipfire.org Git - thirdparty/bird.git/blob - lib/ip.c
25b4d1033de167cc01d929ed519db5b4a380db8f
2 * BIRD Library -- IP address routines common for IPv4 and IPv6
4 * (c) 1998--1999 Martin Mares <mj@ucw.cz>
6 * Can be freely distributed and used under the terms of the GNU GPL.
13 ip_scope_text(unsigned scope
)
15 static char *scope_table
[] = { "host", "link", "site", "org", "univ" };
17 if (scope
> SCOPE_UNIVERSE
)
20 return scope_table
[scope
];