/[packages]/cauldron/dhcp/current/SOURCES/dhcp-4.1.0-fix_lease_parsing.patch
ViewVC logotype

Contents of /cauldron/dhcp/current/SOURCES/dhcp-4.1.0-fix_lease_parsing.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16733 - (show annotations) (download)
Thu Jan 13 23:42:18 2011 UTC (10 years, 5 months ago) by dmorgan
File size: 598 byte(s)
imported package dhcp
1 Fix parse_date_core for tokens NEVER and EPOCH, where the
2 semicolon was searched both in parse_date_core and parse_date.
3 cavassin@mandriva.com
4
5 --- dhcp-4.1.0/common/parse.c.orig 2009-04-21 22:45:08.000000000 -0300
6 +++ dhcp-4.1.0/common/parse.c 2009-04-22 12:37:45.000000000 -0300
7 @@ -915,8 +915,6 @@
8 /* Day of week, or "never"... */
9 token = next_token (&val, (unsigned *)0, cfile);
10 if (token == NEVER) {
11 - if (!parse_semi (cfile))
12 - return 0;
13 return MAX_TIME;
14 }
15
16 @@ -933,9 +931,6 @@
17
18 guess = atoi(val);
19
20 - if (!parse_semi(cfile))
21 - return (TIME)0;
22 -
23 return guess;
24 }
25

  ViewVC Help
Powered by ViewVC 1.1.28