diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-03 17:06:21 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-03 17:09:28 +0100 |
commit | 1018eae77176cffd39bad0e499010923642c2cba (patch) | |
tree | 72e181533c2607a896c7ed92c038797539637737 /include/linux/Makefile.am | |
parent | fe573574fcb2605bc9011c621f44654707180765 (diff) |
parser: bail out on incorrect burst unit
Burst can be either bytes or packets, depending on the rate limit unit.
# nft add rule x y iif eth0 limit rate 512 kbytes/second burst 5 packets
Error: syntax error, unexpected packets, expecting string or bytes
add rule x y iif eth0 limit rate 512 kbytes/second burst 5 packets
^^^^^^^
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1306
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/Makefile.am')
0 files changed, 0 insertions, 0 deletions