]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser: fix ether keyword clash
authorPatrick McHardy <kaber@trash.net>
Fri, 11 Apr 2014 13:50:15 +0000 (15:50 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 11 Apr 2014 13:50:15 +0000 (15:50 +0200)
commit45be073de9fc162f63b69e6fbec3474156bb363c
treea4abe271da43e80d88d97d5ee5409f8a3d13f285
parent21966fa7e242c58c2d581c406af4e7978c981465
parser: fix ether keyword clash

Due to the renaming of the "eth" keyword to "ether", parsing of arphrd
type "ether" fails.

Fix similar to TCP, UDP etc by allocating a constant arphrd expression for
the ether keyword without a following key.

Signed-off-by: Patrick McHardy <kaber@trash.net>
src/parser.y