Skip to content

Commit

Permalink
do not hardcode UDP listen port (#9309)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebin14 authored and pull[bot] committed Sep 14, 2021
1 parent 6b2a6c3 commit 4798835
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ ChipError::StorageType pychip_DeviceController_NewDeviceController(chip::Control
initParams.controllerICAC = icacSpan;
initParams.controllerNOC = nocSpan;

(*outDevCtrl)->SetUdpListenPort(CHIP_PORT + 1);
(*outDevCtrl)->SetUdpListenPort(0);
err = (*outDevCtrl)->Init(initParams);
VerifyOrReturnError(err == CHIP_NO_ERROR, err.AsInteger());

Expand Down

0 comments on commit 4798835

Please sign in to comment.