Development

This commit is contained in:
Matthew Grotke 2026-06-03 02:52:30 -04:00
parent 925156da4d
commit d6f1a74684
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ def _get_arp_table():
the entry is complete; entries without it (incomplete) are excluded.""" the entry is complete; entries without it (incomplete) are excluded."""
try: try:
entries = {} entries = {}
with open('/proc/net/arp') as f: with open('/host/proc/net/arp') as f:
next(f) # skip header line next(f) # skip header line
for line in f: for line in f:
parts = line.split() parts = line.split()

View file

@ -14,7 +14,7 @@ services:
- /sys/devices:/sys/devices:ro - /sys/devices:/sys/devices:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /var/lib/misc:/var/lib/misc:ro - /var/lib/misc:/var/lib/misc:ro
- /proc/net/arp:/proc/net/arp:ro - /proc/net/arp:/host/proc/net/arp:ro
- /var/log/freeradius:/var/log/freeradius - /var/log/freeradius:/var/log/freeradius
environment: environment:
- PYTHONPATH=/routlin_location - PYTHONPATH=/routlin_location