From 125cbee99d695007a790c0512951272dae72305a Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Tue, 16 Oct 2018 16:16:49 +0200 Subject: [PATCH] system-linux: fix a typo in gre tunnel data parsing logic Signed-off-by: Hans Dedecker --- system-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1