Skip to contentSkip to conversation

fixed broken bootp compilation

PATCH Applied Denis V. Lunev 2 participants 2 messages Sep 27, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixed broken bootp compilation

Compilation fix. Extra bracket removed.
Broken by "[NET]: Wrap netdevice hardware header creation" from Stephen Hemminger <[email protected]>

net/ipv4/ipconfig.c renamed from net/ipv4/ipconfig.c.compile +1 -1
@@ -758,7 +758,7 @@ static void __init ic_bootp_send_if(stru
 	skb->dev = dev;
 	skb->protocol = htons(ETH_P_IP);
 	if (dev_hard_header(skb, dev, ntohs(skb->protocol),
-			    dev->broadcast, dev->dev_addr, skb->len) < 0) ||
+			    dev->broadcast, dev->dev_addr, skb->len) < 0 ||
 	    dev_queue_xmit(skb) < 0)
 		printk("E");
 }