diff options
author | khramshinr <khramshinr@gmail.com> | 2024-12-12 11:29:08 +0800 |
---|---|---|
committer | khramshinr <khramshinr@gmail.com> | 2024-12-17 09:37:23 +0800 |
commit | 067e167ad5f4f85c4233a0634b90fb1cd1237720 (patch) | |
tree | 4340fa217cc60832ca1216e9f9ac64a0a66b1f4d | |
parent | 88bb7ef1e65f4fb5b65cab1de3e6bd2ca8b2951b (diff) | |
download | vyos-utils-067e167ad5f4f85c4233a0634b90fb1cd1237720.tar.gz vyos-utils-067e167ad5f4f85c4233a0634b90fb1cd1237720.zip |
T6792: Autocomplete for "show arp interface" interfaces
extended filter for possible broadcast-capable interfaces
-rw-r--r-- | src/completion/list_interfaces/list_interfaces.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/completion/list_interfaces/list_interfaces.ml b/src/completion/list_interfaces/list_interfaces.ml index fec5c9c..58d0693 100644 --- a/src/completion/list_interfaces/list_interfaces.ml +++ b/src/completion/list_interfaces/list_interfaces.ml @@ -68,7 +68,7 @@ let filter_from_type it = | _ -> Some (filter_from_prefix pre) let filter_broadcast s = - let pattern = {|^(bond|br|eth)(.*)$|} + let pattern = {|^(bond|br|tun|vtun|eth|gnv|peth|macsec|vxlan|wwan|wlan)(.*)$|} in try let _ = Pcre.exec ~pat:pattern s in |