Skip to content

Commit

Permalink
stun configuration added (rdkcentral#4881)
Browse files Browse the repository at this point in the history
Signed-off-by: cmuhammedrafi <[email protected]>
  • Loading branch information
cmuhammedrafi authored Feb 2, 2024
1 parent 23a90d9 commit cb3e72a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion NetworkManager/service/Network.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ connectivity.add("interval", "@PLUGIN_NETWORKMANAGER_CONN_MONITOR_INTERVAL@")

stun = JSON()
stun.add("endpoint", "@PLUGIN_NETWORKMANAGER_STUN_ENDPOINT@")
stun.add("port", "19310")
stun.add("port", "@PLUGIN_NETWORKMANAGER_STUN_PORT@")
stun.add("interval", "30")

configuration = JSON()
Expand Down
3 changes: 1 addition & 2 deletions NetworkManager/service/Network.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ map()
key(stun)
map()
kv(endpoint, ${PLUGIN_NETWORKMANAGER_STUN_ENDPOINT})
kv(port, 19310)
kv(port, PLUGIN_NETWORKMANAGER_STUN_PORT)
kv(interval, 30)
end()
kv(loglevel, 3)
end()
ans(configuration)

2 changes: 1 addition & 1 deletion NetworkManager/service/NetworkManager.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ connectivity.add("interval", "@PLUGIN_NETWORKMANAGER_CONN_MONITOR_INTERVAL@")

stun = JSON()
stun.add("endpoint", "@PLUGIN_NETWORKMANAGER_STUN_ENDPOINT@")
stun.add("port", "19310")
stun.add("port", "@PLUGIN_NETWORKMANAGER_STUN_PORT@")
stun.add("interval", "30")

configuration = JSON()
Expand Down
2 changes: 1 addition & 1 deletion NetworkManager/service/NetworkManager.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ map()
key(stun)
map()
kv(endpoint, ${PLUGIN_NETWORKMANAGER_STUN_ENDPOINT})
kv(port, 19310)
kv(port, PLUGIN_NETWORKMANAGER_STUN_PORT)
kv(interval, 30)
end()
kv(loglevel, 3)
Expand Down
2 changes: 1 addition & 1 deletion NetworkManager/service/WiFiManager.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ connectivity.add("interval", "@PLUGIN_NETWORKMANAGER_CONN_MONITOR_INTERVAL@")

stun = JSON()
stun.add("endpoint", "@PLUGIN_NETWORKMANAGER_STUN_ENDPOINT@")
stun.add("port", "19310")
stun.add("port", "@PLUGIN_NETWORKMANAGER_STUN_PORT@")
stun.add("interval", "30")

configuration = JSON()
Expand Down
2 changes: 1 addition & 1 deletion NetworkManager/service/WiFiManager.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ map()
key(stun)
map()
kv(endpoint, ${PLUGIN_NETWORKMANAGER_STUN_ENDPOINT})
kv(port, 19310)
kv(port, PLUGIN_NETWORKMANAGER_STUN_PORT)
kv(interval, 30)
end()
kv(loglevel, 3)
Expand Down

0 comments on commit cb3e72a

Please sign in to comment.