diff --git a/ryu/app/rest_router.py b/ryu/app/rest_router.py index 6bc57171..e0ca1bfd 100644 --- a/ryu/app/rest_router.py +++ b/ryu/app/rest_router.py @@ -1237,7 +1237,7 @@ class Port(object): def __init__(self, port_no, hw_addr): super(Port, self).__init__() self.port_no = port_no - self.mac = addrconv.mac.bin_to_text(hw_addr) + self.mac = hw_addr class AddressData(dict):