[git commit] ntpd: remove now unnecessary check for IP_PKTINFO definition

Denys Vlasenko vda.linux at googlemail.com
Mon Jan 20 02:24:51 UTC 2014


commit: http://git.busybox.net/busybox/commit/?id=c009d35f0060905842c779fdf57535e0127cb238
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/ntpd.c        |    3 ---
 networking/ntpd_simple.c |    3 ---
 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 */


More information about the busybox-cvs mailing list