Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157745610
D31527.id93644.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
716 B
Referenced Files
None
Subscribers
None
D31527.id93644.diff
View Options
Index: sbin/dhclient/clparse.c
===================================================================
--- sbin/dhclient/clparse.c
+++ sbin/dhclient/clparse.c
@@ -199,7 +199,6 @@
parse_client_statement(FILE *cfile, struct interface_info *ip,
struct client_config *config)
{
- int token;
char *val;
struct option *option;
time_t tmp;
@@ -290,15 +289,11 @@
parse_reject_statement(cfile, config);
return;
default:
- parse_warn("expecting a statement.");
- skip_to_semi(cfile);
break;
}
- token = next_token(&val, cfile);
- if (token != SEMI) {
- parse_warn("semicolon expected.");
- skip_to_semi(cfile);
- }
+
+ parse_warn("expecting a statement.");
+ skip_to_semi(cfile);
}
unsigned
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 25, 6:56 PM (7 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33513909
Default Alt Text
D31527.id93644.diff (716 B)
Attached To
Mode
D31527: dhclient: skip_to_semi() consumes semicolon already
Attached
Detach File
Event Timeline
Log In to Comment