]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add ifname to vlan_remove_dynamic() debug print
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 13 Apr 2015 14:06:12 +0000 (17:06 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 13 Apr 2015 14:08:10 +0000 (17:08 +0300)
This makes it easier to interpret debug logs for cases where hostapd
control multiple interfaces.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/vlan_init.c

index 94ff9e46ff4c4f17a6aa7ea34437600c3c9ca914..c57c0629104ad06ca7a4600759b9393c7580e37a 100644 (file)
@@ -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) {