IP address of Switch

Sarah Thomas sarah040.thomas at gmail.com
Mon Feb 2 02:04:11 EST 2015


 Since , we are reading the IP address of the switch from the conf file, is
the IP address of the switch assumed to be static ?

if (!hostapd_config_get_radius_attr(req_attr,
                        RADIUS_ATTR_NAS_IP_ADDRESS) &&
        hapd->conf->own_ip_addr.af == AF_INET &&
        !radius_msg_add_attr(msg, RADIUS_ATTR_NAS_IP_ADDRESS,
                 (u8 *) *&hapd->conf->own_ip_addr.u.v4, 4)*) {
        wpa_printf(MSG_ERROR, "Could not add NAS-IP-Address");
        return -1;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150202/3466510d/attachment.htm>

More information about the HostAP mailing list