Skip to content

Commit 494840c

Browse files
committed
satisfy codecheck
1 parent b7d9fdd commit 494840c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mininet/net.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ def __init__( self, topo=None, switch=OVSKernelSwitch, host=Host,
145145
self.ipBase = ipBase
146146
self.ipBaseNum, self.prefixLen = netParse( self.ipBase )
147147
hostIP = ( 0xffffffff >> self.prefixLen ) & self.ipBaseNum
148-
self.nextIP = hostIP if hostIP > 0 else 1 # start for address allocation
148+
# Start for address allocation
149+
self.nextIP = hostIP if hostIP > 0 else 1
149150
self.inNamespace = inNamespace
150151
self.xterms = xterms
151152
self.cleanup = cleanup

0 commit comments

Comments
 (0)