Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > cd0f440b578c03b7706d19492362a305 > files > 17

ntp-4.2.6p5-24.7.mga5.src.rpm

diff -up ntp-4.2.6p4/ntpd/ntp_io.c.rtnetlink ntp-4.2.6p4/ntpd/ntp_io.c
--- ntp-4.2.6p4/ntpd/ntp_io.c.rtnetlink	2011-10-05 15:49:17.061711033 +0200
+++ ntp-4.2.6p4/ntpd/ntp_io.c	2011-10-05 15:49:17.074711042 +0200
@@ -4549,10 +4549,7 @@ init_async_notifications()
 #ifdef HAVE_RTNETLINK
 	memset(&sa, 0, sizeof(sa));
 	sa.nl_family = PF_NETLINK;
-	sa.nl_groups = RTMGRP_LINK | RTMGRP_IPV4_IFADDR
-		       | RTMGRP_IPV6_IFADDR | RTMGRP_IPV4_ROUTE
-		       | RTMGRP_IPV4_MROUTE | RTMGRP_IPV6_ROUTE
-		       | RTMGRP_IPV6_MROUTE;
+	sa.nl_groups = RTMGRP_IPV4_IFADDR | RTMGRP_IPV6_IFADDR;
 	if (bind(fd, (struct sockaddr *)&sa, sizeof(sa)) < 0) {
 		msyslog(LOG_ERR,
 			"bind failed on routing socket (%m) - using polled interface update");