mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 13:56:09 +02:00
rest_router: bug fix of match parameter
It was regarded as the list because of the unnecessary comma. Signed-off-by: WATANABE Fumitaka <watanabe.fumitaka@nttcom.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
18a5678d8d
commit
fb62194f64
@ -1628,12 +1628,12 @@ class OfCtl_v1_0(OfCtl):
|
||||
v = (32 - src_mask) << ofp.OFPFW_NW_SRC_SHIFT | \
|
||||
~ofp.OFPFW_NW_SRC_MASK
|
||||
wildcards &= v
|
||||
nw_src = ipv4_text_to_int(nw_src),
|
||||
nw_src = ipv4_text_to_int(nw_src)
|
||||
if nw_dst:
|
||||
v = (32 - dst_mask) << ofp.OFPFW_NW_DST_SHIFT | \
|
||||
~ofp.OFPFW_NW_DST_MASK
|
||||
wildcards &= v
|
||||
nw_dst = ipv4_text_to_int(nw_dst),
|
||||
nw_dst = ipv4_text_to_int(nw_dst)
|
||||
if nw_proto:
|
||||
wildcards &= ~ofp.OFPFW_NW_PROTO
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user