git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing UdpTunnel unit tests for PlanetLab
[nepi.git]
/
src
/
nepi
/
resources
/
planetlab
/
scripts
/
pl-vif-create.py
diff --git
a/src/nepi/resources/planetlab/scripts/pl-vif-create.py
b/src/nepi/resources/planetlab/scripts/pl-vif-create.py
index
998ed53
..
b1ef4f3
100644
(file)
--- a/
src/nepi/resources/planetlab/scripts/pl-vif-create.py
+++ b/
src/nepi/resources/planetlab/scripts/pl-vif-create.py
@@
-75,6
+75,9
@@
def stop_action():
return "STOP-ACK"
def passfd_action(fd, args):
+ """ Sends the file descriptor associated to the TAP device
+ to another process through a unix socket.
+ """
address = args.pop(0)
print address
sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)