Bring in fixes for a bug which occurs when the filesystem become fulls.
[dragonfly.git] / sbin / dhclient / common / icmp.c.patch
blob4052a5a393e7ced109fb7df266d52baee9091e9c
1 $DragonFly: src/sbin/dhclient/common/Attic/icmp.c.patch,v 1.1 2006/01/18 02:33:36 dillon Exp $
3 Index: contrib/dhcp-3.0/common/icmp.c
4 ===================================================================
5 RCS file: /cvs/src/contrib/dhcp-3.0/common/icmp.c,v
6 retrieving revision 1.1
7 diff -u -r1.1 icmp.c
8 --- contrib/dhcp-3.0/common/icmp.c 4 Jan 2005 19:58:53 -0000 1.1
9 +++ contrib/dhcp-3.0/common/icmp.c 17 Jan 2006 23:27:36 -0000
10 @@ -291,7 +291,7 @@
11 icbuf = (u_int8_t *)(ia + 1);
12 if (icmp_state -> icmp_handler)
13 (*icmp_state -> icmp_handler) (*ia, icbuf,
14 - (int)(length - sizeof ia));
15 + (int)(length - sizeof *ia));
18 void trace_icmp_input_stop (trace_type_t *ttype) { }