aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-08-14 17:21:55 +0200
committerTobias Brunner <tobias@strongswan.org>2012-08-16 16:14:15 +0200
commit31a0e24b0fa13ee4e2bfc1dc7abece290ff7be14 (patch)
tree96dc24024cd7831ad6cd49a60859b3e191c8a599 /src
parent71b89d672234e84e387f7c65883babe486d74edc (diff)
downloadstrongswan-31a0e24b0fa13ee4e2bfc1dc7abece290ff7be14.tar.bz2
strongswan-31a0e24b0fa13ee4e2bfc1dc7abece290ff7be14.tar.xz
Increased log level when listing interfaces and IP addresses during startup
This avoids confusing log messages in starter and ipsec statusall already lists the available addresses anyway.
Diffstat (limited to 'src')
-rw-r--r--src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c6
-rw-r--r--src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c b/src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c
index fc59c8abe..91d29eb34 100644
--- a/src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c
+++ b/src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c
@@ -1634,7 +1634,7 @@ static status_t init_address_list(private_kernel_netlink_net_t *this)
iface_entry_t *iface;
addr_entry_t *addr;
- DBG1(DBG_KNL, "listening on interfaces:");
+ DBG2(DBG_KNL, "known interfaces and IP addresses:");
memset(&request, 0, sizeof(request));
@@ -1698,11 +1698,11 @@ static status_t init_address_list(private_kernel_netlink_net_t *this)
{
if (iface->flags & IFF_UP)
{
- DBG1(DBG_KNL, " %s", iface->ifname);
+ DBG2(DBG_KNL, " %s", iface->ifname);
addrs = iface->addrs->create_enumerator(iface->addrs);
while (addrs->enumerate(addrs, (void**)&addr))
{
- DBG1(DBG_KNL, " %H", addr->ip);
+ DBG2(DBG_KNL, " %H", addr->ip);
}
addrs->destroy(addrs);
}
diff --git a/src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c b/src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c
index 918fdd3c7..47e9b068f 100644
--- a/src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c
+++ b/src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c
@@ -561,7 +561,7 @@ static status_t init_address_list(private_kernel_pfroute_net_t *this)
addr_entry_t *addr;
enumerator_t *ifaces, *addrs;
- DBG1(DBG_KNL, "listening on interfaces:");
+ DBG2(DBG_KNL, "known interfaces and IP addresses:");
if (getifaddrs(&ifap) < 0)
{
@@ -626,11 +626,11 @@ static status_t init_address_list(private_kernel_pfroute_net_t *this)
{
if (iface->flags & IFF_UP)
{
- DBG1(DBG_KNL, " %s", iface->ifname);
+ DBG2(DBG_KNL, " %s", iface->ifname);
addrs = iface->addrs->create_enumerator(iface->addrs);
while (addrs->enumerate(addrs, (void**)&addr))
{
- DBG1(DBG_KNL, " %H", addr->ip);
+ DBG2(DBG_KNL, " %H", addr->ip);
}
addrs->destroy(addrs);
}