From 1acf38f1a5aa19169035de9b611fc76440729c0b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 13 Apr 2015 17:06:12 +0300 Subject: [PATCH] Add ifname to vlan_remove_dynamic() debug print This makes it easier to interpret debug logs for cases where hostapd control multiple interfaces. Signed-off-by: Jouni Malinen --- src/ap/vlan_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ap/vlan_init.c b/src/ap/vlan_init.c index 94ff9e46f..c57c06291 100644 --- a/src/ap/vlan_init.c +++ b/src/ap/vlan_init.c @@ -959,7 +959,8 @@ int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) if (vlan_id <= 0 || vlan_id > MAX_VLAN_ID) return 1; - wpa_printf(MSG_DEBUG, "VLAN: %s(vlan_id=%d)", __func__, vlan_id); + wpa_printf(MSG_DEBUG, "VLAN: %s(ifname=%s vlan_id=%d)", + __func__, hapd->conf->iface, vlan_id); vlan = hapd->conf->vlan; while (vlan) {