projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f1e03
)
test: dhcp-server - fix test
author
Tom Gundersen
<teg@jklm.no>
Wed, 13 Aug 2014 23:28:35 +0000
(
01:28
+0200)
committer
Tom Gundersen
<teg@jklm.no>
Wed, 13 Aug 2014 23:29:51 +0000
(
01:29
+0200)
Reported by Corey Hammerton on G+
src/libsystemd-network/test-dhcp-server.c
patch
|
blob
|
history
diff --git
a/src/libsystemd-network/test-dhcp-server.c
b/src/libsystemd-network/test-dhcp-server.c
index
a94b62f
..
3e68f31
100644
(file)
--- a/
src/libsystemd-network/test-dhcp-server.c
+++ b/
src/libsystemd-network/test-dhcp-server.c
@@
-57,7
+57,7
@@
static int test_basic(sd_event *event) {
assert_se(sd_dhcp_server_start(server) == -EUNATCH);
assert_se(sd_dhcp_server_set_address(server, &address_any, 28) == -EINVAL);
- assert_se(sd_dhcp_server_set_address(server, &address_
any
, 38) == -ERANGE);
+ assert_se(sd_dhcp_server_set_address(server, &address_
lo
, 38) == -ERANGE);
assert_se(sd_dhcp_server_set_address(server, &address_lo, 8) >= 0);
assert_se(sd_dhcp_server_set_address(server, &address_lo, 8) == -EBUSY);