summaryrefslogtreecommitdiffhomepage
path: root/.pylintrc
diff options
context:
space:
mode:
authorShinpei Muraoka <shinpei.muraoka@gmail.com>2016-09-27 12:01:04 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-10-01 20:46:28 +0900
commitd23c07054e6f33b392f49f6fceacbdb891be3d87 (patch)
tree31a9e19c855b9393be32bdb51762cba470243996 /.pylintrc
parent29d1a97139535a07c4f87923d4401175a584c183 (diff)
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>
Diffstat (limited to '.pylintrc')
0 files changed, 0 insertions, 0 deletions