summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-10-16 16:16:49 +0200
committerHans Dedecker <dedeckeh@gmail.com>2018-10-16 16:17:58 +0200
commit125cbee99d695007a790c0512951272dae72305a (patch)
treebae35a98804a9c904ec3f7f2377bc7f5f347ec1b
parenta117e414d8acd5dd27ba9ac30bc462ba4ae6587e (diff)
system-linux: fix a typo in gre tunnel data parsing logic
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r--system-linux.c2
1 files changed, 1 insertions, 1 deletions
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;
}