diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2017-12-17 13:15:27 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2017-12-17 13:15:27 +0530 |
commit | 201468971f42223e49f28509cef28671411d63b5 (patch) | |
tree | 1cbdd7419af2c3eb489c13285370bb0b98d570dd | |
parent | 5cc1ea21baacd6b1955288702f1b419299df45a5 (diff) | |
parent | d25bb1d4757f998670e5525a63944758cb964c7d (diff) |
Merge branch 'master' of github.com:copyninja/bin
-rwxr-xr-x | port_forward | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/port_forward b/port_forward index 4842b3c..b7bd49f 100755 --- a/port_forward +++ b/port_forward @@ -84,7 +84,7 @@ DESTINATION="$4" # Get the incoming interface IP. This is used for SNAT. IN_IP=$(ip addr show $IN_INTERFACE|\ - perl -nE '/inet\s(.*)\sscope/ and say $1' | tr '\n' ' ') + perl -nE '/inet\s(.*)\sbrd/ and say $1' | tr '\n' ' ') if [ -n "$CLEAR_RULES" ]; then |