diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-19 22:04:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 22:04:09 +0200 |
commit | 394c2ad60b9d78b516facd9509493f719643323c (patch) | |
tree | 3209065a833f57aa8e95ced4e280b12feabc45e1 /python | |
parent | ac9f5b19604b5cbe45fcb76baae98eaa81adb7bc (diff) | |
parent | 58dfd957fd8ec24caeca73105f7823148ef8c8bf (diff) | |
download | vyos-1x-394c2ad60b9d78b516facd9509493f719643323c.tar.gz vyos-1x-394c2ad60b9d78b516facd9509493f719643323c.zip |
Merge pull request #4087 from c-po/wifi-fix
wireless: T6709: fix missing wpa_supplicant configuration
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/ifconfig/bond.py | 3 | ||||
-rw-r--r-- | python/vyos/ifconfig/ethernet.py | 3 | ||||
-rw-r--r-- | python/vyos/ifconfig/interface.py | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/python/vyos/ifconfig/bond.py b/python/vyos/ifconfig/bond.py index b8ea90049..8ba481728 100644 --- a/python/vyos/ifconfig/bond.py +++ b/python/vyos/ifconfig/bond.py @@ -504,3 +504,6 @@ class BondIf(Interface): # call base class first super().update(config) + + # enable/disable EAPoL (Extensible Authentication Protocol over Local Area Network) + self.set_eapol() diff --git a/python/vyos/ifconfig/ethernet.py b/python/vyos/ifconfig/ethernet.py index 8d96c863f..61da7b74b 100644 --- a/python/vyos/ifconfig/ethernet.py +++ b/python/vyos/ifconfig/ethernet.py @@ -452,3 +452,6 @@ class EthernetIf(Interface): # call base class last super().update(config) + + # enable/disable EAPoL (Extensible Authentication Protocol over Local Area Network) + self.set_eapol() diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py index 31fcf6ca6..002d3da9e 100644 --- a/python/vyos/ifconfig/interface.py +++ b/python/vyos/ifconfig/interface.py @@ -1813,9 +1813,6 @@ class Interface(Control): value = '1' if (tmp != None) else '0' self.set_per_client_thread(value) - # enable/disable EAPoL (Extensible Authentication Protocol over Local Area Network) - self.set_eapol() - # Enable/Disable of an interface must always be done at the end of the # derived class to make use of the ref-counting set_admin_state() # function. We will only enable the interface if 'up' was called as |