summaryrefslogtreecommitdiffhomepage
path: root/gobgpd
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-11-18 23:37:01 +0900
committerIWASE Yusuke <iwase.yusuke0@gmail.com>2017-11-24 12:55:34 +0900
commit68d2478e2ea1d8607f85e6ab3d4a792e054ce6c2 (patch)
tree3c04819270fdccc355b1094463fb9db23fd47e53 /gobgpd
parent35c79d833feafb7fa12afa90e984e6f1f474675e (diff)
packet/bgp: Use regexp to parse FlowSpec rules
Currently, the parser for the string representation of FlowSpec rules splits the given string into characters and validates them character by character. So we need to handle the unexpected white spaces carefully. This patch introduces the regular expressions to parse the FlowSpec rules and simplify the parsers. Also improves robustness for the unexpectedly inserted white spaces like "& == tcp". Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'gobgpd')
0 files changed, 0 insertions, 0 deletions