Skip to content

Commit

Permalink
Wrong configuration item used (#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuanjieDeng authored May 21, 2020
1 parent 87a64b7 commit a3ce98d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erizo_controller/erizoController/erizoController.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ const addToCloudHandler = (callback) => {

if (interfaces) {
Object.keys(interfaces).forEach((k) => {
if (!global.config.erizoAgent.networkinterface ||
global.config.erizoAgent.networkinterface === k) {
if (!global.config.erizoController.networkinterface ||
global.config.erizoController.networkinterface === k) {
Object.keys(interfaces[k]).forEach((k2) => {
address = interfaces[k][k2];
if (address.family === 'IPv4' && !address.internal) {
Expand Down

0 comments on commit a3ce98d

Please sign in to comment.