Commit Graph

3 Commits

Author SHA1 Message Date
Nils Schneider ec7fe2cca9 gluon-radvd: on-link flag
By introducing a new option -a in addition to -p this patch allows
controlling the on-link flag of announcements.

A prefix specified using -a will have the on-link flag set to zero
while a prefix specified using -p will retain its behaviour (i.e.
on-link flag set).

Example:

    gluon-radvd -i local-node -p 2001:db8:aaaa:/64 -a 2001:db8:bbbb::/64

This will announce 2001:db8:aaaa::/64 with the on-link flag set and
2001:db8:bbbb::/64 with the flag unset.
2015-08-19 21:08:20 +02:00
Matthias Schiffer b4107909c4 gluon-radvd: fix NULL deref
The specification says that the ifa_addr field of struct ifaddrs may be NULL,
and in Barrier Breaker, this does actually occur...
2015-08-19 21:08:20 +02:00
Matthias Schiffer e72627d35a gluon-radvd: implement own radvd to reduce size 2015-08-19 21:08:20 +02:00