diff options
| author | John Estabrook <jestabro@vyos.io> | 2026-08-12 08:38:28 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2026-08-12 08:38:28 -0500 |
| commit | b4c60cda2c550c7e06770fcb5ce1d07bc3976069 (patch) | |
| tree | 4c56eea7a015ee78745b2b5a55f52d4e6783cf77 /python | |
| parent | 0e92c25e5ea5c16edb9830ba19d9e9cc7e02be64 (diff) | |
| download | vyos-1x-b4c60cda2c550c7e06770fcb5ce1d07bc3976069.tar.gz vyos-1x-b4c60cda2c550c7e06770fcb5ce1d07bc3976069.zip | |
T9169: update for binding name change due to refactoring
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/configtree.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python/vyos/configtree.py b/python/vyos/configtree.py index a70aac095..743600a56 100644 --- a/python/vyos/configtree.py +++ b/python/vyos/configtree.py @@ -630,14 +630,14 @@ def mask_inclusive(left, right, libpath=LIBPATH): try: __lib = cdll.LoadLibrary(libpath) - __mask_tree = __lib.mask_tree - __mask_tree.argtypes = [c_void_p, c_void_p, c_bool] - __mask_tree.restype = c_void_p + __mask_inclusive = __lib.mask_inclusive + __mask_inclusive.argtypes = [c_void_p, c_void_p] + __mask_inclusive.restype = c_void_p __get_error = __lib.get_error __get_error.argtypes = [] __get_error.restype = c_char_p - res = __mask_tree(left.get_tree(), right.get_tree(), False) + res = __mask_inclusive(left.get_tree(), right.get_tree()) except Exception as e: raise ConfigTreeError(e) if not res: @@ -656,14 +656,14 @@ def mask_exclusive(left, right, libpath=LIBPATH): try: __lib = cdll.LoadLibrary(libpath) - __mask_tree = __lib.mask_tree - __mask_tree.argtypes = [c_void_p, c_void_p, c_bool] - __mask_tree.restype = c_void_p + __mask_exclusive = __lib.mask_exclusive + __mask_exclusive.argtypes = [c_void_p, c_void_p] + __mask_exclusive.restype = c_void_p __get_error = __lib.get_error __get_error.argtypes = [] __get_error.restype = c_char_p - res = __mask_tree(left.get_tree(), right.get_tree(), True) + res = __mask_exclusive(left.get_tree(), right.get_tree()) except Exception as e: raise ConfigTreeError(e) if not res: |
