Merge from vendor branch BIND:
[dragonfly.git] / sbin / dhclient / common / icmp.c.patch
1 $DragonFly: src/sbin/dhclient/common/Attic/icmp.c.patch,v 1.1 2006/01/18 02:33:36 dillon Exp $
2
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));
16  }
17  
18  void trace_icmp_input_stop (trace_type_t *ttype) { }