xtables-addons: rtsp: fix compile warning/issue
authorHans Dedecker <redacted>
Fri, 3 Aug 2018 15:51:23 +0000 (17:51 +0200)
committerHans Dedecker <redacted>
Mon, 6 Aug 2018 15:39:02 +0000 (17:39 +0200)
commitd01b62924e13dd609ce177faad89b61170f6155c
treea207bd6278cb44e2a7b8382540bb149dbc832712
parentefb6927097ef9a3d9a34ce070a9a96b652096608
xtables-addons: rtsp: fix compile warning/issue

Fix compile issue with Werror:

nf_conntrack_rtsp.c:667:39: error: implicit declaration of function 'nf_ct_zone' [-Werror=implicit-function-declaration]
   exp_ct = nf_ct_expect_find_get(net, nf_ct_zone(ct), &t);

Fix compile warning:

nf_conntrack_rtsp.c:474:2: warning: enumeration value 'IP_CT_DIR_MAX' not handled in switch [-Wswitch]
  switch (CTINFO2DIR(ctinfo)) {
  ^~~~~~

Signed-off-by: Hans Dedecker <redacted>
net/xtables-addons/patches/100-add-rtsp-conntrack.patch
git clone https://git.99rst.org/PROJECT