1 $DragonFly: src/sbin/dhclient/common/Attic/parse.c.patch,v 1.1 2005/01/04 19:58:54 joerg Exp $
2 --- parse.c.orig 2004-06-17 22:54:38.000000000 +0200
3 +++ parse.c 2004-06-24 16:36:17.000000000 +0200
10 token = next_token (&val, (unsigned *)0, cfile);
11 if (token != NUMBER) {
16 - convert_num (cfile, (unsigned char *)timep, val, 10, 32);
17 + convert_num (cfile, (unsigned char *)&num, val, 10, 32);
18 /* Unswap the number - convert_num returns stuff in NBO. */
19 - *timep = ntohl (*timep); /* XXX */
20 + *timep = ntohl (num);