If the string length for a UPS setting is longer than 127 characters an assert fails in function do_type in upsset.c which stops the settings view from displaying in the web GUI.
The particular line is already flagged for action:
assert(l <= 127); /* FIXME: Loophole about longer numbers? Why are we limited to char at all here?
I'm not competent to change it but could somebody who is take a look? This is relevant because several of the string values on the APC devices I'm trying to control have a max length128
The error returned is:
upsset.cgi: upsset.c:766: do_type: Assertion l <= 127' failed.`
Thank you
If the string length for a UPS setting is longer than 127 characters an assert fails in function do_type in upsset.c which stops the settings view from displaying in the web GUI.
The particular line is already flagged for action:
assert(l <= 127); /* FIXME: Loophole about longer numbers? Why are we limited to char at all here?I'm not competent to change it but could somebody who is take a look? This is relevant because several of the string values on the APC devices I'm trying to control have a max length128
The error returned is:
upsset.cgi: upsset.c:766: do_type: Assertionl <= 127' failed.`Thank you