projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename utility functions to avoid partner namespace conflicts.
[openvswitch]
/
tests
/
test-dhcp-client.c
diff --git
a/tests/test-dhcp-client.c
b/tests/test-dhcp-client.c
index 163c59f91d4c119d0ed73d79ea5413c991bd2928..0a7c1a1f1a1b2039bf41ec7fa48748cd213dc29a 100644
(file)
--- a/
tests/test-dhcp-client.c
+++ b/
tests/test-dhcp-client.c
@@
-75,13
+75,13
@@
main(int argc, char *argv[])
argc -= optind;
argv += optind;
if (argc != 1) {
argc -= optind;
argv += optind;
if (argc != 1) {
- fatal(0, "exactly one non-option argument required; "
- "use --help for help");
+
ofp_
fatal(0, "exactly one non-option argument required; "
+
"use --help for help");
}
error = dhclient_create(argv[0], modify_dhcp_request, NULL, NULL, &cli);
if (error) {
}
error = dhclient_create(argv[0], modify_dhcp_request, NULL, NULL, &cli);
if (error) {
- fatal(error, "dhclient_create failed");
+
ofp_
fatal(error, "dhclient_create failed");
}
dhclient_init(cli, request_ip.s_addr);
fatal_signal_add_hook(release, cli, true);
}
dhclient_init(cli, request_ip.s_addr);
fatal_signal_add_hook(release, cli, true);
@@
-149,7
+149,8
@@
parse_options(int argc, char *argv[])
switch (c) {
case OPT_REQUEST_IP:
if (!inet_aton(optarg, &request_ip)) {
switch (c) {
case OPT_REQUEST_IP:
if (!inet_aton(optarg, &request_ip)) {
- fatal(0, "--request-ip argument is not a valid IP address");
+ ofp_fatal(0,
+ "--request-ip argument is not a valid IP address");
}
break;
}
break;