-
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propagate IMMUTABLE
flag on socket protocol (driver=>upsd
); use it in netset
; sanity-check if (defaulted) NUMBER
values are not in fact STRING
s
#2549
base: master
Are you sure you want to change the base?
Commits on Jul 23, 2024
-
server/netget.c, docs/net-protocol.txt: set_var(): report IMMUTABLE f…
…lag on values in DEBUG builds [networkupstools#266] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad253f2 - Browse repository at this point
Copy the full SHA ad253f2View commit details -
server/netset.c: consider IMMUTABLE flag to reject setting a value [n…
…etworkupstools#266] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b6f193 - Browse repository at this point
Copy the full SHA 5b6f193View commit details -
server/netget.c: sanity-check NUMBER values that they actually resolv…
…e as float or long int [networkupstools#266] If we assume a value without flags is by default a NUMBER but is not, re-default it to STRING. If it is also flagged explicitly as a NUMBER but is not, yell a warning for upstream to fix the code. Eventually this should be a reason to report protocol error, but not now. Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 56a9063 - Browse repository at this point
Copy the full SHA 56a9063View commit details -
NEWS.adoc, UPGRADING.adoc: document changes of handling for IMMUTABLE…
…, STRING and NUMBER flags [networkupstools#266] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f73ef06 - Browse repository at this point
Copy the full SHA f73ef06View commit details -
drivers/dstate.c, common/state.c: allow to dump and receive "IMMUTABL…
…E" flag value [networkupstools#266] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1820cfa - Browse repository at this point
Copy the full SHA 1820cfaView commit details -
server/netget.c: get_type(): use str_to_*_strict() methods instead of…
… reinventing the wheel [networkupstools#266, networkupstools#966] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5776fb2 - Browse repository at this point
Copy the full SHA 5776fb2View commit details -
server/netget.c: get_type(): simplify logging and vars used [networku…
…pstools#266] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fb4afe - Browse repository at this point
Copy the full SHA 7fb4afeView commit details -
NEWS.adoc, UPGRADING.adoc: clarify that PR networkupstools#266 adds I…
…MMUTABLE flag propagation on socket protocol (and fix float=>double) Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a90432d - Browse repository at this point
Copy the full SHA a90432dView commit details -
docs/sock-protocol.txt: update with propagation of IMMUTABLE flag [ne…
…tworkupstools#266] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a47ceb5 - Browse repository at this point
Copy the full SHA a47ceb5View commit details -
server/netget.c: do not actually report a STRING:N value so far [netw…
…orkupstools#266] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e5d04e - Browse repository at this point
Copy the full SHA 3e5d04eView commit details -
server/netget.c: get_type(): reword logged messages [networkupstools#266
] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 38a675c - Browse repository at this point
Copy the full SHA 38a675cView commit details -
server/netget.c: fix use of "#if DEBUG" when it is not defined [netwo…
…rkupstools#266] Signed-off-by: Jim Klimov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e7e70b - Browse repository at this point
Copy the full SHA 7e7e70bView commit details