OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 67... | Line 67... | |||
67 | json_add_int ttl "${ttl:-64}" |
67 | json_add_int ttl "${ttl:-64}" |
|
68 | json_add_string local "$ip6addr" |
68 | json_add_string local "$ip6addr" |
|
69 | json_add_string remote "$peeraddr" |
69 | json_add_string remote "$peeraddr" |
|
70 | [ -n "$tunlink" ] && json_add_string link "$tunlink" |
70 | [ -n "$tunlink" ] && json_add_string link "$tunlink" |
|
71 | json_add_object "data" |
71 | json_add_object "data" |
|
72 | [ -n "$encaplimit" ] && json_add_string encaplimit "$encaplimit" |
72 | json_add_string encaplimit "${encaplimit:-4}" |
|
73 | json_close_object |
73 | json_close_object |
|
74 | proto_close_tunnel |
74 | proto_close_tunnel |
|
Line 75... | Line 75... | |||
75 | |
75 | |
|
76 | proto_add_data |
76 | proto_add_data |