projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netdev-linux: Avoid potential issues with unset FD.
[openvswitch]
/
tests
/
test-dhcp-client.c
diff --git
a/tests/test-dhcp-client.c
b/tests/test-dhcp-client.c
index 4473095938d2629b446e5e4decb7574a1faacbf4..3b35dac69b46a5c2541a274adaa1834b46ce0ac5 100644
(file)
--- a/
tests/test-dhcp-client.c
+++ b/
tests/test-dhcp-client.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009
, 2010
Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-65,7
+65,7
@@
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 (;;) {
dhclient_run(cli);
for (;;) {
dhclient_run(cli);