diff options
Diffstat (limited to 'src/connections/ethernet-iproute')
-rw-r--r-- | src/connections/ethernet-iproute | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/connections/ethernet-iproute b/src/connections/ethernet-iproute index 9da4b37..088d25b 100644 --- a/src/connections/ethernet-iproute +++ b/src/connections/ethernet-iproute @@ -4,7 +4,7 @@ report_iproute() { report_fail "$*" - set_interface down "$INTERFACE" + bring_interface down "$INTERFACE" exit 1 } @@ -18,7 +18,7 @@ ethernet_up() { fi report_debug ethernet_iproute_up ifup - set_interface up "$INTERFACE" + bring_interface up "$INTERFACE" if ip link show dev "$INTERFACE" | fgrep -q "NO-CARRIER"; then @@ -39,7 +39,7 @@ ethernet_up() { if ! wpa_check "$INTERFACE"; then # ignore quirk nodown---is that appropriate? or should we just use report_iproute? # this adds a flush call as well---is that appropriate? - set_interface forcedown "$INTERFACE" + bring_interface forcedown "$INTERFACE" report_fail "WPA Authentication/Association Failed" return 1 fi @@ -122,7 +122,7 @@ ethernet_down() { report_debug ethernet_iproute_down if_down # ignore quirk nodown---is that appropriate? # this adds a flush call as well---is that appropriate? - set_interface forcedown "$INTERFACE" + bring_interface forcedown "$INTERFACE" } |