Development
This commit is contained in:
parent
925156da4d
commit
d6f1a74684
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ def _get_arp_table():
|
|||
the entry is complete; entries without it (incomplete) are excluded."""
|
||||
try:
|
||||
entries = {}
|
||||
with open('/proc/net/arp') as f:
|
||||
with open('/host/proc/net/arp') as f:
|
||||
next(f) # skip header line
|
||||
for line in f:
|
||||
parts = line.split()
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ services:
|
|||
- /sys/devices:/sys/devices:ro
|
||||
- /etc/localtime:/etc/localtime: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
|
||||
environment:
|
||||
- PYTHONPATH=/routlin_location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue