Commit 125cbee9 authored by Hans Dedecker's avatar Hans Dedecker

system-linux: fix a typo in gre tunnel data parsing logic

Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
parent a117e414
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment