tests: check decoding of ifaddrlblmsg netlink attributes

* tests/nlattr_ifaddrlblmsg.c (main): Check decoding of IFAL_ADDRESS.
This commit is contained in:
JingPiao Chen 2017-08-30 21:15:27 +08:00 committed by Dmitry V. Levin
parent c23f5baaec
commit 76ac04f5f9

View File

@ -83,6 +83,11 @@ main(void)
4, pattern, 4,
print_quoted_hex(pattern, 4));
TEST_NLATTR(fd, nlh0, hdrlen,
init_ifaddrlblmsg, print_ifaddrlblmsg,
IFAL_ADDRESS, 4, pattern, 4,
print_quoted_hex(pattern, 4));
puts("+++ exited with 0 +++");
return 0;
}