diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-10-02 12:51:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-02 12:51:13 +0100 |
| commit | 03fadf7adf2ef61b878c45bf70f36f81c129a13e (patch) | |
| tree | a8b5ad2cbd4169da569cd3911411bee8ac1309a2 /src | |
| parent | 31f8bd8e762ddd999e8cefd52786353f43ea4c1c (diff) | |
| parent | f21ea718acedc263480ad82c801ca818482a0f9d (diff) | |
| download | vyos-1x-03fadf7adf2ef61b878c45bf70f36f81c129a13e.tar.gz vyos-1x-03fadf7adf2ef61b878c45bf70f36f81c129a13e.zip | |
Merge pull request #4768 from awolfnet/current
op-mode: T7868: fix op-cmd "reset ip arp table" is not working
Diffstat (limited to 'src')
| -rwxr-xr-x | src/op_mode/neighbor.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/op_mode/neighbor.py b/src/op_mode/neighbor.py index 50fcf87c5..9bbad94e1 100755 --- a/src/op_mode/neighbor.py +++ b/src/op_mode/neighbor.py @@ -109,7 +109,7 @@ def reset(family: ArgFamily, interface: typing.Optional[str], address: typing.Op run(f"""ip --family {family} neighbor flush dev {interface}""") else: # Flush an entire neighbor table - run(f"""ip --family {family} neighbor flush""") + run(f"""ip --family {family} neighbor flush all""") if __name__ == '__main__': try: @@ -119,4 +119,3 @@ if __name__ == '__main__': except (ValueError, vyos.opmode.Error) as e: print(e) sys.exit(1) - |
