hostapd: bump to 2024-03-09
[openwrt/staging/xback.git] / package / network / services / hostapd / patches / 760-dynamic_own_ip.patch
index 2c705a68cf0acf4b5b2415a41f61d05262d2b4d1..7f1b5fc82660545af3f54b17fd153804f7f58c2a 100644 (file)
@@ -10,7 +10,7 @@
        int acct_interim_interval;
 --- a/src/radius/radius_client.c
 +++ b/src/radius/radius_client.c
-@@ -163,6 +163,8 @@ struct radius_client_data {
+@@ -165,6 +165,8 @@ struct radius_client_data {
         */
        void *ctx;
  
@@ -19,7 +19,7 @@
        /**
         * conf - RADIUS client configuration (list of RADIUS servers to use)
         */
-@@ -720,6 +722,30 @@ static void radius_client_list_add(struc
+@@ -819,6 +821,30 @@ static void radius_close_acct_socket(str
  
  
  /**
@@ -50,7 +50,7 @@
   * radius_client_send - Send a RADIUS request
   * @radius: RADIUS client context from radius_client_init()
   * @msg: RADIUS message to be sent
-@@ -1238,6 +1264,10 @@ radius_change_server(struct radius_clien
+@@ -1711,6 +1737,10 @@ radius_change_server(struct radius_clien
                        wpa_printf(MSG_DEBUG, "RADIUS local address: %s:%u",
                                   inet_ntoa(claddr.sin_addr),
                                   ntohs(claddr.sin_port));
@@ -61,7 +61,7 @@
                }
                break;
  #ifdef CONFIG_IPV6
-@@ -1249,6 +1279,10 @@ radius_change_server(struct radius_clien
+@@ -1722,6 +1752,10 @@ radius_change_server(struct radius_clien
                                   inet_ntop(AF_INET6, &claddr6.sin6_addr,
                                             abuf, sizeof(abuf)),
                                   ntohs(claddr6.sin6_port));
@@ -74,7 +74,7 @@
        }
 --- a/src/radius/radius_client.h
 +++ b/src/radius/radius_client.h
-@@ -249,6 +249,8 @@ int radius_client_register(struct radius
+@@ -274,6 +274,8 @@ int radius_client_register(struct radius
  void radius_client_set_interim_error_cb(struct radius_client_data *radius,
                                        void (*cb)(const u8 *addr, void *ctx),
                                        void *ctx);
@@ -85,7 +85,7 @@
                       RadiusType msg_type, const u8 *addr);
 --- a/src/ap/ieee802_1x.c
 +++ b/src/ap/ieee802_1x.c
-@@ -598,6 +598,10 @@ int add_common_radius_attr(struct hostap
+@@ -601,6 +601,10 @@ int add_common_radius_attr(struct hostap
        struct hostapd_radius_attr *attr;
        int len;
  
@@ -98,7 +98,7 @@
            hapd->conf->own_ip_addr.af == AF_INET &&
 --- a/hostapd/config_file.c
 +++ b/hostapd/config_file.c
-@@ -2688,6 +2688,8 @@ static int hostapd_config_fill(struct ho
+@@ -2819,6 +2819,8 @@ static int hostapd_config_fill(struct ho
        } else if (os_strcmp(buf, "iapp_interface") == 0) {
                wpa_printf(MSG_INFO, "DEPRECATED: iapp_interface not used");
  #endif /* CONFIG_IAPP */