opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.07k stars 700 forks source link

API: reverse getArp resolve parameter behavior #7523

Open kpelzel opened 2 weeks ago

kpelzel commented 2 weeks ago

Currently the resolve parameter for the getArp API call performs the opposite behavior you'd expect. When the resolve=yes parameter is supplied list_arp.py will not resolve hostnames, while resolve=no (the default) will resolve them.

If this behavior is intentional, disregard this PR.

AdSchellevis commented 2 weeks ago

This does look a bit strange indeed, but may require changes in the endpoint as well. I’ll put it on the list of things to check before the 24.7 release