Revision 891a9e8b
mininet/util.py | ||
---|---|---|
253 | 253 |
"""Generate MAC colon-hex string from unsigned int. |
254 | 254 |
mac: MAC address as unsigned int |
255 | 255 |
returns: macStr MAC colon-hex string""" |
256 |
return _colonHex( mac, 6 )
|
|
256 |
return _colonHex( mac, 6 ) |
|
257 | 257 |
|
258 | 258 |
def ipStr( ip ): |
259 | 259 |
"""Generate IP address string from an unsigned int. |
Also available in: Unified diff