Skip to contentSkip to conversation

net: link_local: fix build

PATCH New Benoît Thébaudeau 2 participants 2 messages Jul 19, 2012 1 message not in the archive Networking

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 net: link_local: fix build

In reply to a message not in the archive

Fix comment within comment build error.

---
 .../net/link_local.c                               |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
net/link_local.c +3 -3
index 8e7665f..d52f13a 100644
@@ -225,8 +225,8 @@ void link_local_receive_arp(struct arp_hdr *arp, int len)
 			timeout_ms = diff | 1; /* never 0 */
 		}
 	}
-/*
- * XXX Don't bother with ethernet link just yet
+#if 0
+ /* XXX Don't bother with ethernet link just yet */
 	if ((fds[0].revents & POLLIN) == 0) {
 		if (fds[0].revents & POLLERR) {
 			/*
@@ -240,7 +240,7 @@ void link_local_receive_arp(struct arp_hdr *arp, int len)
 		}
 		continue;
 	}
-*/
+#endif
 
 	debug_cond(DEBUG_INT_STATE, "%s recv arp type=%d, op=%d,\n",
 		eth_get_name(), ntohs(arp->ar_pro),