X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=netlink.c;h=022ddf1c00ae7a7c440c6245aca9494cf096fa46;hp=708205b9eb6d0743d30188c0a8c4f5651197d647;hb=b2a56f7c93d221607864761c590952b9a614dc9f;hpb=08f344d3bdffe4bb83b47b5e2d53758ce231ebc4 diff --git a/netlink.c b/netlink.c index 708205b..022ddf1 100644 --- a/netlink.c +++ b/netlink.c @@ -659,11 +659,9 @@ netlink_deliver_fn *netlink_init(struct netlink *st, &st->networks); dict_read_subnet_list(dict, "exclude-remote-networks", False, "netlink", loc, &st->exclude_remote_networks); - /* local-address and secnet-address do not have to be in local-networks; - however, they should be advertised in the 'sites' file for the + /* secnet-address does not have to be in local-networks; + however, it should be advertised in the 'sites' file for the local site. */ - st->local_address=string_to_ipaddr( - dict_find_item(dict,"local-address", True, "netlink", loc),"netlink"); st->secnet_address=string_to_ipaddr( dict_find_item(dict,"secnet-address", True, "netlink", loc),"netlink"); st->mtu=dict_read_number(dict, "mtu", False, "netlink", loc, DEFAULT_MTU);