chiark / gitweb /
sd-icmp6-nd: Update Router Advertisement handling
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 20 Jan 2015 17:35:57 +0000 (19:35 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 27 Jan 2015 07:35:24 +0000 (09:35 +0200)
commit09667885bad3a8cb7f1a002766f9e59140775526
tree90c34409ac86bdca96d1d947d1c2139dab407774
parente7504d95479455be5cef120fc8e0a48fd74ad5ca
sd-icmp6-nd: Update Router Advertisement handling

As the IPv6 prefixes are needed, update the ICMPv6 Router Advertisement
code to dynamically allocate a suitably sized buffer. Iterate through
the ICMPv6 options one by one returning error if the option length is
too big to fit the buffer.
src/libsystemd-network/sd-icmp6-nd.c