Skip to content

newcamd PORT= wrong when using mgclent =1

= Revision Current

= Issue Description if you select

mgclient = 1

you add in your ports to the server section like

3333@0604:000000;0606:000000,000200;602:000000,000000

it works

BUT

if you go to webif under newcamd section only shows

3333@0604:000000

;0606:000000,000200;602:000000,000000 <--- MISSING

If you change ANY other setting via webif it overwrites your setting and removes all other except

3333@0604:000000

it just ignores the rest of the line from the ;

I think some code is missing or broken if mgclient =1 then the format should be PORT= is 3333@0604:000000;0606:000000,000200;602:000000,000000 port@caid:prid,prid;caid:prid,prid;caid etc etc

it is obviously looking for the next port number, if not then it droped them.

= When the issue occurs All the time

= How the issue is reproducable select mgclient =1 & change your ports to 1 port with multiple CAIDs, Then go to WEBIF and CONFIGURATION then NEWCAMD look at the PORT section will only show the first CAID & port.

If you change ANY settings in here and HIT SAVE your PORT is overwritten with only 1 CAID@PORT:PRID eg..

3333@0604:000000;0606:000000,000200;602:000000,000000

becomes

3333@0604:000000

-->;0606:000000,000200;602:000000,000000<-- are removed

If you untick mgclient & replace the format to 3333@0604:000000;4444@0606:000000,000200;4441@602:000000,000000

and check WEBIF all ports & CAIDs are shown.

<Don't forget to ATTACH (NOT post here as text) NIL LOG FILE REQUIRED