projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Generalize facet_put__() so that it is more useful.
[openvswitch]
/
tests
/
test-dhcp-client.c
diff --git
a/tests/test-dhcp-client.c
b/tests/test-dhcp-client.c
index f38d438fce404d061248ba8cdea807e421804275..991edd4590e16eda721f0d767ff00ef4b5fbb0c2 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,8
+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);
argc -= optind;
parse_options(argc, argv);
argc -= optind;
@@
-67,10
+64,9
@@
main(int argc, char *argv[])
ovs_fatal(error, "dhclient_create failed");
}
dhclient_init(cli, request_ip.s_addr);
ovs_fatal(error, "dhclient_create failed");
}
dhclient_init(cli, request_ip.s_addr);
- fatal_signal_add_hook(release, cli, true);
+ fatal_signal_add_hook(release,
NULL,
cli, true);
for (;;) {
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
+75,6
@@
main(int argc, char *argv[])
}
}
dhclient_wait(cli);
}
}
dhclient_wait(cli);
- fatal_signal_unblock();
poll_block();
}
}
poll_block();
}
}