]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-icmp6-nd: Add test cases for prefixes
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 20 Jan 2015 17:36:02 +0000 (19:36 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 27 Jan 2015 07:35:24 +0000 (09:35 +0200)
commit99af546d0ee63ac4af3f234a448d4a3b7bdcfab4
tree0b3c12d1ef3e1c8436d542de8760c34241fb617e
parentd77bde34cfcf91246a075fd47919294894bf6f8a
test-icmp6-nd: Add test cases for prefixes

Add test cases that feeds an Router Advertisement to the ICMPv6 code
and verify that the correct prefix lengths are returned given an IPv6
address.

Enhance the prefix verification test by adding a shorter prefix and
check that the intended prefix lengths are now updated.
src/libsystemd-network/test-icmp6-rs.c