mirror of
https://github.com/brmlab/BLIT.git
synced 2025-06-08 11:53:59 +02:00
initial BLIT commit
This commit is contained in:
parent
7c2356fe80
commit
5130a2ab11
24 changed files with 900 additions and 0 deletions
7
NeNe-discovery/netiface-default.py
Executable file
7
NeNe-discovery/netiface-default.py
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import sys
|
||||
import netifaces as ni
|
||||
|
||||
gw_iface = ni.gateways()['default'][ni.AF_INET][1]
|
||||
print gw_iface
|
Loading…
Add table
Add a link
Reference in a new issue