Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ip n s dev <interface> doesn't work #43

Closed
SimonTate opened this issue Sep 16, 2022 · 1 comment
Closed

ip n s dev <interface> doesn't work #43

SimonTate opened this issue Sep 16, 2022 · 1 comment

Comments

@SimonTate
Copy link
Contributor

With brew installed iprotue2:

When trying to execute ip n s dev en7, I get a python error.

$ ip n s dev en7
Traceback (most recent call last):
  File "/usr/local/bin/ip", line 762, in <module>
    main(sys.argv[1:])
  File "/usr/local/bin/ip", line 92, in inner
    if not func(*args, **kwargs):
  File "/usr/local/bin/ip", line 755, in main
    return cmd_func(argv, af)
  File "/usr/local/bin/ip", line 92, in inner
    if not func(*args, **kwargs):
  File "/usr/local/bin/ip", line 599, in do_neigh
    return do_neigh_show(argv, af)
  File "/usr/local/bin/ip", line 657, in do_neigh_show
    res = subprocess.run(
  File "/usr/local/Cellar/[email protected]/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/sbin/arp', '-anli en7']' returned non-zero exit status 1.

Also get the same on master of the repo.

I have a change ready for this.

@brona
Copy link
Owner

brona commented Sep 18, 2022

Thanks for the fix. Released in v1.4.1

@brona brona closed this as completed Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants