From: John Crispin Date: Wed, 18 Sep 2024 13:21:27 +0000 (+0200) Subject: hostapd: add ifname to generic ubus notify code X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dd62f7659b38602dfbefc8894a66c13930b872d1;p=openwrt%2Fstaging%2Fneocturne.git hostapd: add ifname to generic ubus notify code Signed-off-by: John Crispin --- diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c index d84d41f930..4dda2b0571 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.c +++ b/package/network/services/hostapd/src/src/ap/ubus.c @@ -1858,6 +1858,7 @@ void hostapd_ubus_notify(struct hostapd_data *hapd, const char *type, const u8 * blob_buf_init(&b, 0); blobmsg_add_macaddr(&b, "address", addr); + blobmsg_add_string(&b, "ifname", hapd->conf->iface); ubus_notify(ctx, &hapd->ubus.obj, type, b.head, -1); }