diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-12-18 11:52:48 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-12-21 16:57:23 +0100 |
commit | 44e97b2009dc2bee93f25684b274f458f50ea667 (patch) | |
tree | 174d2d5c94801e1295f987529adb58b457e231a2 /trafgen.zsh | |
parent | 7925eea97dfbe30b87217c6db9c6326f4eb66324 (diff) |
trafgen: parser: Parse IPv6 address by strict match pattern
Used IPv6 pattern from nftables project [1] to match valid only IPv6
address to do not mess with MAC or other syntax patterns with ':' symbol.
[1] http://git.netfilter.org/nftables/tree/src/scanner.l
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
[tk: add refrence to nftables source]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen.zsh')
0 files changed, 0 insertions, 0 deletions