Magellan Linux

Diff of /trunk/mkinitrd-magellan/klibc/usr/kinit/ipconfig/dhcp_proto.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1296 by niro, Wed Aug 18 21:11:40 2010 UTC revision 1297 by niro, Fri May 27 15:12:11 2011 UTC
# Line 147  static int dhcp_recv(struct netdev *dev) Line 147  static int dhcp_recv(struct netdev *dev)
147   };   };
148   int ret;   int ret;
149    
150   ret = packet_recv(iov, 3);   ret = packet_recv(dev, iov, 3);
151   if (ret == 0)   if (ret <= 0)
152   return -1;   return ret;
153    
154   dprintf("\n   dhcp xid %08x ", dev->bootp.xid);   dprintf("\n   dhcp xid %08x ", dev->bootp.xid);
155    

Legend:
Removed from v.1296  
changed lines
  Added in v.1297