[dhcp-agent-commits] dhcp-agent/src dhcp-packet-build.c,1.7,1.8
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2003-06-25 02:28:06
|
Update of /cvsroot/dhcp-agent/dhcp-agent/src In directory sc8-pr-cvs1:/tmp/cvs-serv18000/src Modified Files: dhcp-packet-build.c Log Message: fixed unarp construction to correctly construct packet Index: dhcp-packet-build.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-packet-build.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** dhcp-packet-build.c 25 Jun 2003 01:54:14 -0000 1.7 --- dhcp-packet-build.c 25 Jun 2003 02:28:02 -0000 1.8 *************** *** 237,241 **** { build_eth_broadcast(net, source_hw_addr, ETH_TYPE_ARP); ! build_arp(net, ARP_OP_REPLY, eth_null, source_addr, eth_null, ip_addr_broadcast, 0); net->type = RAWNET_ARP; --- 237,241 ---- { build_eth_broadcast(net, source_hw_addr, ETH_TYPE_ARP); ! build_arp(net, ARP_OP_REPLY, source_hw_addr, 0, eth_broadcast, ip_addr_broadcast, ETH_ADDR_LEN); net->type = RAWNET_ARP; |