mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
rest_router: update after ofproto hw_addr changes
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
0cfe9b4ab4
commit
b8e1d5045d
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user