Author Topic: Possible fix for OnForwardingInProgress  (Read 1217 times)

mchugh

  • Not-a-newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Possible fix for OnForwardingInProgress
« on: February 17, 2015, 03:04:48 AM »
Hi,

I had observed for a long time that the OnForwardingInProgress call never provided a proxyPort other than zero, I think the problem is in UDPForwarder.cpp, where the following line:

Code: [Select]
if (startForwardingOutput[i].result==UDPFORWARDER_SUCCESS)
should read:http://www.jenkinssoftware.com/forum/Themes/default/images/icons/modify_inline.gif

Code: [Select]
if (startForwardingOutput[i].result==UDPFORWARDER_SUCCESS || startForwardingOutput[i].result==UDPFORWARDER_FORWARDING_ALREADY_EXISTS)
Otherwise, filling in the port where UDPFORWARDER_FORWARDING_ALREADY_EXISTS is set is irrelevant and never ends up coming through to the callback?
« Last Edit: February 17, 2015, 03:06:40 AM by mchugh »