diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-10-27 17:01:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-27 17:01:01 -0500 |
commit | a4230349ed5776a17e934ef5321d39289cf2c511 (patch) | |
tree | 98a1223e4c2d9a6a16bafdf293d06a894010e70f /src/op_mode/wireguard.py | |
parent | ad9bbd9edff6a057ba0c4d2a8984e2184345ca71 (diff) | |
parent | 1c7b0ab60cb987ef4596758074ba6f824b01158e (diff) | |
download | vyos-1x-a4230349ed5776a17e934ef5321d39289cf2c511.tar.gz vyos-1x-a4230349ed5776a17e934ef5321d39289cf2c511.zip |
Merge pull request #155 from kroy-the-rabbit/py-interface
T1759: Merging interface.py into ifconfig.py
Diffstat (limited to 'src/op_mode/wireguard.py')
-rwxr-xr-x | src/op_mode/wireguard.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/op_mode/wireguard.py b/src/op_mode/wireguard.py index 6860aa3ea..38c061cf4 100755 --- a/src/op_mode/wireguard.py +++ b/src/op_mode/wireguard.py @@ -24,7 +24,7 @@ import subprocess import syslog as sl import re -from vyos.interface import Interface +from vyos.ifconfig import WireGuardIf from vyos import ConfigError from vyos.config import Config @@ -150,8 +150,8 @@ if __name__ == '__main__': if args.listkdir: list_key_dirs() if args.showinterface: - intf = Interface(args.showinterface) - intf.print_interface() + intf = WireGuardIf(args.showinterface) + intf.op_show_interface() if args.delkdir: if args.location: del_key_dir(args.location) |