aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-09-27 12:42:48 +0200
committerTobias Brunner <tobias@strongswan.org>2012-09-27 12:43:36 +0200
commit9845391a9591fc701e1185df26f49cd929721d3d (patch)
tree44773e503679b813efd1a0d384d1f76f8a480f34
parent45178362c850c32be42c3ffb2fa9fa755be88f00 (diff)
downloadstrongswan-9845391a9591fc701e1185df26f49cd929721d3d.tar.bz2
strongswan-9845391a9591fc701e1185df26f49cd929721d3d.tar.xz
Properly initialize cached address map in kernel-pfroute plugin
-rw-r--r--src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c b/src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c
index 07bfbdd44..16a46bb56 100644
--- a/src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c
+++ b/src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c
@@ -731,6 +731,7 @@ static status_t init_address_list(private_kernel_pfroute_net_t *this)
addr->virtual = FALSE;
addr->refcount = 1;
iface->addrs->insert_last(iface->addrs, addr);
+ addr_map_entry_add(this, addr, iface);
}
}
}