IP address of Switch
Sarah Thomas
sarah040.thomas
Sun Feb 1 23:04:11 PST 2015
Hi,
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;
}
Thanks,
Sarah
-------------- 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