Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix permissions for dut_setup.sh
[csit.git]
/
resources
/
libraries
/
python
/
L2Util.py
diff --git
a/resources/libraries/python/L2Util.py
b/resources/libraries/python/L2Util.py
index
2acb6db
..
97cef61
100644
(file)
--- a/
resources/libraries/python/L2Util.py
+++ b/
resources/libraries/python/L2Util.py
@@
-43,9
+43,9
@@
class L2Util(object):
to string format (01:02:03:04:05:06).
:param mac_int: MAC address in integer representation.
to string format (01:02:03:04:05:06).
:param mac_int: MAC address in integer representation.
- :type mac_int:
str
+ :type mac_int:
int
:returns: String representation of MAC address.
:returns: String representation of MAC address.
- :rtype:
int
+ :rtype:
str
"""
return ':'.join(wrap("{:012x}".format(mac_int), width=2))
"""
return ':'.join(wrap("{:012x}".format(mac_int), width=2))