os-ken/ryu
Shinpei Muraoka d23c07054e stplib: Fix to compare MAC address and Bridge ID
cmp() func was introduced for Python 3 compatibility before,
but this implementation is not enough, because a MAC address
can not be compared with a Bridge ID (integer value) by com() func.

This patch fixes to convert the MAC address into an integer value
before comparing with Bridge ID and fixes this problem.

Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-10-01 20:46:28 +09:00
..
app add modify role API in ofctl_rest 2016-09-07 09:37:46 +09:00
base Avoid parallel executions of AppManager.close() 2016-07-01 11:30:01 +09:00
cmd manager: Except KeyboardInterrupt to suppress traceback 2016-07-27 14:50:35 +09:00
contrib contrib/ovs: Remove embeded ovs, use upstream 2016-03-21 19:28:32 +09:00
controller Validate OpenFlow message length in header, to prevent controller receive loop DoS 2016-08-25 15:04:25 +09:00
lib stplib: Fix to compare MAC address and Bridge ID 2016-10-01 20:46:28 +09:00
ofproto ofproto/ofproto_v1_5_parser: OFPMultipartReply malformed message offset fix 2016-09-28 16:34:59 +09:00
services BGPSpeaker/api/operator: Simplify registration decorator 2016-10-01 20:12:36 +09:00
tests tests/switch: fix bug in _diff_packets function 2016-09-21 21:24:04 +09:00
topology topology: ignore cfm packets on packet in 2016-07-01 12:23:17 +09:00
__init__.py Ryu 4.6 2016-09-01 21:17:00 +09:00
cfg.py Adapt to namespace-less oslo 2015-05-19 15:39:27 +09:00
exception.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
flags.py tester: Support to test OpenFlow1.0 switch 2015-10-28 14:32:02 +09:00
hooks.py Removes unnecessary Windows requirements 2016-04-06 22:33:56 +03:00
log.py 'ConfigParser' is renamed to 'configparser' in Python 3 2015-04-14 05:31:42 +09:00
utils.py utils: fix for temporarily storing the value of sys.path 2016-05-13 22:17:23 +09:00