diff options
author | ume <ume@FreeBSD.org> | 2003-08-08 16:52:31 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-08-08 16:52:31 +0000 |
commit | 0820e437dc59b5da388bb504e58d1f00bd256862 (patch) | |
tree | 50cba84d10e6505e3662a05163062e1145b9737d /usr.sbin/rtsold/rtsold.c | |
parent | bf86284d6ca930a2f0cbe53ce120be3cda8ada70 (diff) | |
download | FreeBSD-src-0820e437dc59b5da388bb504e58d1f00bd256862.zip FreeBSD-src-0820e437dc59b5da388bb504e58d1f00bd256862.tar.gz |
drop the code for the environment where getifaddrs(3) is not
supported.
Obtained from: KAME
MFC after: 1 week
Diffstat (limited to 'usr.sbin/rtsold/rtsold.c')
-rw-r--r-- | usr.sbin/rtsold/rtsold.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c index 55b1942..ca2044a 100644 --- a/usr.sbin/rtsold/rtsold.c +++ b/usr.sbin/rtsold/rtsold.c @@ -751,9 +751,6 @@ warnmsg(priority, func, msg, va_alist) static char ** autoifprobe() { -#ifndef HAVE_GETIFADDRS - errx(1, "-a is not available with the configuration"); -#else static char ifname[IFNAMSIZ + 1]; static char *argv[2]; struct ifaddrs *ifap, *ifa, *target; @@ -804,5 +801,4 @@ autoifprobe() return argv; else return (char **)NULL; -#endif } |