summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2014-01-20 02:24:51 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2014-01-20 02:24:51 (GMT)
commitc009d35f0060905842c779fdf57535e0127cb238 (patch)
tree8c325c834b829fd269d3b4f24e9b61c5398e933a
parent76ad7481b1697b9eb99286259395050f3169e7e8 (diff)
downloadbusybox-c009d35f0060905842c779fdf57535e0127cb238.tar.gz
busybox-c009d35f0060905842c779fdf57535e0127cb238.tar.bz2
ntpd: remove now unnecessary check for IP_PKTINFO definition
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/ntpd.c3
-rw-r--r--networking/ntpd_simple.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c
index f1f99bb..03fe448 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -51,9 +51,6 @@
#ifndef IPTOS_LOWDELAY
# define IPTOS_LOWDELAY 0x10
#endif
-#ifndef IP_PKTINFO
-# error "Sorry, your kernel has to support IP_PKTINFO"
-#endif
/* Verbosity control (max level of -dddd options accepted).
diff --git a/networking/ntpd_simple.c b/networking/ntpd_simple.c
index 3e7fc47..22e899c 100644
--- a/networking/ntpd_simple.c
+++ b/networking/ntpd_simple.c
@@ -11,9 +11,6 @@
#ifndef IPTOS_LOWDELAY
# define IPTOS_LOWDELAY 0x10
#endif
-#ifndef IP_PKTINFO
-# error "Sorry, your kernel has to support IP_PKTINFO"
-#endif
/* Sync to peers every N secs */