[Asterisk-code-review] sip_nat_settings: Update script for latest Linux. (asterisk[13])

Sean Bright asteriskteam at digium.com
Wed Aug 26 11:33:32 CDT 2020


Sean Bright has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/14831 )

Change subject: sip_nat_settings: Update script for latest Linux.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/c/asterisk/+/14831/1/contrib/scripts/sip_nat_settings 
File contrib/scripts/sip_nat_settings:

https://gerrit.asterisk.org/c/asterisk/+/14831/1/contrib/scripts/sip_nat_settings@55 
PS1, Line 55: 	  ip --brief -family inet address show scope global up | sed -e 's/^.*\sUP\s\s*\([0-9./]*\)\s*$/localnet = \1/'
awk would be more clear:

  ip --brief -family inet address show scope global up | awk '{print "localnet = " $3}'



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14831
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I9b1a7c3f457e3553b50a3e9a55524e40d70245a0
Gerrit-Change-Number: 14831
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-CC: Sean Bright <sean.bright at gmail.com>
Gerrit-Comment-Date: Wed, 26 Aug 2020 16:33:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200826/bba4aa1d/attachment.html>


More information about the asterisk-code-review mailing list