Skip to content

Commit

Permalink
fix(network): bugfix for use address instead of tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyoukun committed Jul 2, 2018
1 parent d061dc8 commit 486dc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/tsw/util/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ this.getNetworkInterfacesTypes = function() {
types[key] = 'external';
}

if (tmp.startsWith('127.')) {
if (address.startsWith('127.')) {
types[key] = 'local';
} else {
types[key] = 'internal';
Expand Down

0 comments on commit 486dc50

Please sign in to comment.