From: Hans Dedecker Date: Tue, 16 Oct 2018 14:16:49 +0000 (+0200) Subject: system-linux: fix a typo in gre tunnel data parsing logic X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=125cbee99d695007a790c0512951272dae72305a;p=oweals%2Fnetifd.git system-linux: fix a typo in gre tunnel data parsing logic Signed-off-by: Hans Dedecker --- diff --git a/system-linux.c b/system-linux.c index 9401cd9..8cfad3c 100644 --- a/system-linux.c +++ b/system-linux.c @@ -2540,7 +2540,7 @@ static int system_add_gre_tunnel(const char *name, const char *kind, iflags |= GRE_SEQ; } - if ((cur = tb[GRE_DATA_OSEQNO])) { + if ((cur = tb_data[GRE_DATA_OSEQNO])) { if (blobmsg_get_bool(cur)) oflags |= GRE_SEQ; }