Fixed bug with non-wireless interfaces.

This commit is contained in:
Matias Barcenas 2017-09-03 16:12:55 -05:00
parent e420d52856
commit 59f4373b7a
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ function captive_portal_set_interface() {
fi;;
esac
VIGW=$WIAccessPoint
VIAP=$WIAccessPoint
# Set an AP service if the interface selected is wireless.
if interface_is_wireless "$WIAccessPoint"; then
if ! fluxion_set_ap_service