ip6: only honor kernel-provided RA flags if an RA was received (rh #588560)
authorDan Williams <dcbw@redhat.com>
Mon, 10 May 2010 22:19:03 +0000 (15:19 -0700)
committerDan Williams <dcbw@redhat.com>
Mon, 10 May 2010 22:19:03 +0000 (15:19 -0700)
commit3e68d3358311cd04ae85884ef593da7554f4b3e3
treec841d10f41a1352f73a41bbe56167015d91c0fdb
parentf3057a6844b6d8a9f6ed2d82dc9bb4a46e4318d9
ip6: only honor kernel-provided RA flags if an RA was received (rh #588560)

The kernel apparently caches the value and will send Managed/Other flags
in the newlink message even if the router is no longer reachable and
and RA hasn't been received for a while.  So we need to make sure we
check for IF_RA_RCVD before paying attention to Managed/Other.
src/ip6-manager/nm-ip6-manager.c