From: Hans Dedecker Date: Sat, 27 May 2017 11:07:33 +0000 (+0200) Subject: system-linux: fix 6rd regression X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=08f1875201a60dc20c65d2af26b41af987662f10;p=project%2Fnetifd.git system-linux: fix 6rd regression Fix 6rd regression introduced in commit 7573880ac042c6e5c8d48b1ad83d357b5e02743b Signed-off-by: Hans Dedecker --- diff --git a/system-linux.c b/system-linux.c index 0ac4ae6..3605d9b 100644 --- a/system-linux.c +++ b/system-linux.c @@ -2737,7 +2737,7 @@ static int system_add_sit_tunnel(const char *name, const unsigned int link, stru p6.prefixlen = mask; } - if ((cur = tb[SIXRD_DATA_RELAY_PREFIX])) { + if ((cur = tb_data[SIXRD_DATA_RELAY_PREFIX])) { if (!parse_ip_and_netmask(AF_INET, blobmsg_data(cur), &p6.relay_prefix, &mask) || mask > 32) { ret = -EINVAL;