summaryrefslogtreecommitdiffhomepage
path: root/zebra/zapi.go
diff options
context:
space:
mode:
authorSatoshi Fujimoto <satoshi.fujimoto7@gmail.com>2017-11-06 11:09:03 +0900
committerSatoshi Fujimoto <satoshi.fujimoto7@gmail.com>2017-11-06 13:22:23 +0900
commit5f9347d0d82a8cf8f32259e2459d370c14d85fc5 (patch)
treec5aa6ca0b52e025f7bae19f8175f4f5821123e9e /zebra/zapi.go
parent9f4cd30e34b7aa4db860392b7934d58ec62348a0 (diff)
packet/bgp: Avoid Varied Flag Representations in Flowspec Filter
Currently, the parsing results of flags in flowsspec filter will be varied every time they are parsed. For example, the tcp-flag '=UFP' may be represented to '=UPF' or '=PUF' and so on. This is due to the use of interation to map. Iterations over maps does not happen in a consistent order. This fixes it by iterating sorted slices instead of maps. Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Diffstat (limited to 'zebra/zapi.go')
0 files changed, 0 insertions, 0 deletions