]>
git.ipfire.org Git - thirdparty/bird.git/blob - lib/ip.c
06cc42cfcdf03ff4bf9b2ef3b7fdc810238aa8a8
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.
12 #include "nest/bird.h"
16 ip_scope_text(unsigned scope
)
18 static char *scope_table
[] = { "host", "link", "site", "org", "univ" };
20 if (scope
> SCOPE_UNIVERSE
)
23 return scope_table
[scope
];