diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-31 18:01:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 18:01:20 +0200 |
commit | 685de4c3f9d3367a25ff1320cdacaf6427f6cc80 (patch) | |
tree | 176941850c632e37b9853ee842b41188caae7cd7 /python/vyos/ifconfig/dhcp.py | |
parent | c707202f440e387310f97a75b737f482c11ef72e (diff) | |
parent | 10f31524db1623bf115f88c3a432b5c37522d2e4 (diff) | |
download | vyos-1x-685de4c3f9d3367a25ff1320cdacaf6427f6cc80.tar.gz vyos-1x-685de4c3f9d3367a25ff1320cdacaf6427f6cc80.zip |
Merge pull request #283 from thomas-mangin/T2057-wg-dump
ifconfig: T2057: Move code from interface.py to wireguard.py
Diffstat (limited to 'python/vyos/ifconfig/dhcp.py')
-rw-r--r-- | python/vyos/ifconfig/dhcp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/dhcp.py b/python/vyos/ifconfig/dhcp.py index 8d3653433..8ec8263b5 100644 --- a/python/vyos/ifconfig/dhcp.py +++ b/python/vyos/ifconfig/dhcp.py @@ -50,7 +50,9 @@ interface "{{ intf }}" { class DHCP (Control): client_base = r'/var/lib/dhcp/dhclient_' - def __init__ (self, ifname): + def __init__ (self, ifname, **kargs): + super().__init__(**kargs) + # per interface DHCP config files self._dhcp = { 4: { |