Skip to content

Commit

Permalink
Only change IAX port for local nodes (#67)
Browse files Browse the repository at this point in the history
When updating the IAX port number, ensure that "node-setup" only changes the port number for local nodes.  The IAX port for other nodes listed in [nodes] should be left alone.
  • Loading branch information
Allan-N authored Dec 16, 2024
1 parent c1a431e commit c599114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/node-setup
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ do_set_iax_bindport() {
# update the per-node bindport
sed -i \
-E \
-e "/^[0-9]+\s*=\s*radio@/ \
-e "/^$CURRENT_NODE\s*=\s*radio@/ \
{ \
s/:[0-9]+\//\//; \
s/\//:$NEW_BINDPORT\//; \
Expand Down

0 comments on commit c599114

Please sign in to comment.