netlink: Fix up link down behaviour
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Dec 2011 21:24:35 +0000 (21:24 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Dec 2011 21:41:30 +0000 (21:41 +0000)
commitf208b9a9c2c54479a170bf94bfb4c71001f570a2
tree98f7762b486d4d09b1ae229be68e6b89eaaefac2
parent04f92904ea6c41517ff7154910c16ef4c3bc646b
netlink: Fix up link down behaviour

Partially reverts 04f92904ea6c41517ff7154910c16ef4c3bc646b
 "userv-ipif: Always request routes from userv, regardless of link quality"

It turns out that this check is necessary to avoid bringing up a route
for a "netlink" stanza in the configuration file which is never used.

In particular, this avoids bringing up a netlink for (a) sites which
are not mentioned in the config file (b) the site on which secnet is
running.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
netlink.c
secnet.h
slip.c