Fixed bug with non-wireless interfaces.
This commit is contained in:
parent
e420d52856
commit
59f4373b7a
|
@ -76,6 +76,9 @@ function captive_portal_set_interface() {
|
||||||
fi;;
|
fi;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
VIGW=$WIAccessPoint
|
||||||
|
VIAP=$WIAccessPoint
|
||||||
|
|
||||||
# Set an AP service if the interface selected is wireless.
|
# Set an AP service if the interface selected is wireless.
|
||||||
if interface_is_wireless "$WIAccessPoint"; then
|
if interface_is_wireless "$WIAccessPoint"; then
|
||||||
if ! fluxion_set_ap_service
|
if ! fluxion_set_ap_service
|
||||||
|
|
Loading…
Reference in New Issue