mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
test-dhcp6-client: add one more assert on memory mapping
Same as 7489d0640a
, one more case
that was missed.
Coverity CID #1394277
This commit is contained in:
parent
008adf875e
commit
a9dd1010f0
@ -467,6 +467,7 @@ static int test_advertise_option(sd_event *e) {
|
||||
|
||||
case SD_DHCP6_OPTION_SERVERID:
|
||||
assert_se(optlen == 14);
|
||||
assert_se(optval == &msg_advertise[179]);
|
||||
assert_se(!memcmp(optval, &msg_advertise[179], optlen));
|
||||
|
||||
assert_se(dhcp6_lease_set_serverid(lease, optval,
|
||||
|
Loading…
Reference in New Issue
Block a user