From: Tony Ambardar <itugrok@yahoo.com>
Date: Wed, 21 Nov 2018 13:03:12 +0000 (-0800)
Subject: base-files: install missing /etc/iproute2/ematch_map
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=10a2ccb7fceef3a6dea4ece14e6141a807292d5f;p=openwrt%2Fstaging%2Fnbd.git

base-files: install missing /etc/iproute2/ematch_map

This file is needed to properly use the tc ematch modules present in
kmod-sched-core and kmod-sched. It is a read-only index file of ematch
methods used only by tc.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
---

diff --git a/package/base-files/files/etc/iproute2/ematch_map b/package/base-files/files/etc/iproute2/ematch_map
new file mode 100644
index 0000000000..4d6bb2f039
--- /dev/null
+++ b/package/base-files/files/etc/iproute2/ematch_map
@@ -0,0 +1,8 @@
+# lookup table for ematch kinds
+1	cmp
+2	nbyte
+3	u32
+4	meta
+7	canid
+8	ipset
+9	ipt