diff options
author | Stéphan Kochen <stephan@kochen.nl> | 2012-06-17 17:26:35 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-18 23:03:31 +0200 |
commit | b0ef5945af9d68a435868546b4bf30020a6e6ab8 (patch) | |
tree | db33b75482546b66236547b30f96573c9e92d60c /system.c | |
parent | 1ada8cef980df7871b12ed230c789eb28f6cb047 (diff) |
Add 6rd options to tunnel spec.
This patch adds support for setting the 6rd tunnel options. These are the same
options normally specified with `ip tunnel 6rd ...`.
Signed-off-by: Stéphan Kochen <stephan@kochen.nl>
Diffstat (limited to 'system.c')
-rw-r--r-- | system.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ static const struct blobmsg_policy tunnel_attrs[__TUNNEL_ATTR_MAX] = { [TUNNEL_ATTR_LOCAL] = { "local", BLOBMSG_TYPE_STRING }, [TUNNEL_ATTR_REMOTE] = { "remote", BLOBMSG_TYPE_STRING }, [TUNNEL_ATTR_TTL] = { "ttl", BLOBMSG_TYPE_INT32 }, + [TUNNEL_ATTR_6RD_PREFIX] = { "6rd-prefix", BLOBMSG_TYPE_STRING }, + [TUNNEL_ATTR_6RD_RELAY_PREFIX] = { "6rd-relay-prefix", BLOBMSG_TYPE_STRING }, }; const struct config_param_list tunnel_attr_list = { |