projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Distribute some forgotten files that are needed by "make check".
[openvswitch]
/
tests
/
test-dhcp-client.c
diff --git
a/tests/test-dhcp-client.c
b/tests/test-dhcp-client.c
index 7ea476ca16afc27e958e43041e289d8c20a8a9e2..4473095938d2629b446e5e4decb7574a1faacbf4 100644
(file)
--- a/
tests/test-dhcp-client.c
+++ b/
tests/test-dhcp-client.c
@@
-23,7
+23,6
@@
#include "command-line.h"
#include "dhcp.h"
#include "fatal-signal.h"
#include "command-line.h"
#include "dhcp.h"
#include "fatal-signal.h"
-#include "fault.h"
#include "poll-loop.h"
#include "util.h"
#include "vlog.h"
#include "poll-loop.h"
#include "util.h"
#include "vlog.h"
@@
-51,7
+50,6
@@
main(int argc, char *argv[])
int error;
set_program_name(argv[0]);
int error;
set_program_name(argv[0]);
- register_fault_handlers();
vlog_init();
parse_options(argc, argv);
vlog_init();
parse_options(argc, argv);
@@
-70,7
+68,6
@@
main(int argc, char *argv[])
fatal_signal_add_hook(release, cli, true);
for (;;) {
fatal_signal_add_hook(release, cli, true);
for (;;) {
- fatal_signal_block();
dhclient_run(cli);
if (dhclient_changed(cli)) {
dhclient_configure_netdev(cli);
dhclient_run(cli);
if (dhclient_changed(cli)) {
dhclient_configure_netdev(cli);
@@
-79,7
+76,6
@@
main(int argc, char *argv[])
}
}
dhclient_wait(cli);
}
}
dhclient_wait(cli);
- fatal_signal_unblock();
poll_block();
}
}
poll_block();
}
}
@@
-176,8
+172,8
@@
usage(void)
"\nDHCP options:\n"
" --request-ip=IP request specified IP address (default:\n"
" do not request a specific IP)\n"
"\nDHCP options:\n"
" --request-ip=IP request specified IP address (default:\n"
" do not request a specific IP)\n"
- " --vendor-class=STRING use STRING as vendor class
(default:
\n"
- "
none); use OpenFlow to imitate secchan
\n"
+ " --vendor-class=STRING use STRING as vendor class
; use
\n"
+ "
OpenFlow to imitate ovs-openflowd
\n"
" --no-resolv-conf do not update /etc/resolv.conf\n",
program_name, program_name);
vlog_usage();
" --no-resolv-conf do not update /etc/resolv.conf\n",
program_name, program_name);
vlog_usage();