Commit adf25d81 authored by Martín Ferrari's avatar Martín Ferrari

rename

parent 96656176
...@@ -49,7 +49,7 @@ switch0.connect(if1) ...@@ -49,7 +49,7 @@ switch0.connect(if1)
# if0 = ppp0.interface(a) # if0 = ppp0.interface(a)
# For now, we have simple P2P interfaces: # For now, we have simple P2P interfaces:
(pppa, pppb) = netns.P2PInterface(a, b) (pppa, pppb) = netns.P2PInterface.create_pair(a, b)
# Add and connect a tap device (as if a external router were plugged into a # Add and connect a tap device (as if a external router were plugged into a
# switch) # switch)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment