summaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold/rtsold.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rtsold/rtsold.c')
-rw-r--r--usr.sbin/rtsold/rtsold.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c
index 55b1942473a3..ca2044af1063 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
}