From dd62f7659b38602dfbefc8894a66c13930b872d1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 18 Sep 2024 15:21:27 +0200 Subject: [PATCH] hostapd: add ifname to generic ubus notify code Signed-off-by: John Crispin --- package/network/services/hostapd/src/src/ap/ubus.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2