summaryrefslogtreecommitdiffstats
path: root/sources/core.h
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-09-29 14:53:12 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-09-29 14:53:12 +0200
commit51b70966fc0f5b79be36cbb76c8ccaa5fa5f1f7e (patch)
tree3ca8b315647a22199b3d411c53950b1741db1dbe /sources/core.h
parent35a3b0a1a3230e465b3a434603cd6608b3350121 (diff)
rest: fix sql typo in og_set_client_mode
Replace invalid variable @ipserveradm by @serverip in the SQL query of og_set_client_mode. @ipserveradm is a typo as this variable does not exists. This ends up feeding a string to the legacy setclientmode code and crashes. This bug also caused problems when adding clients via ogCP or any other command that required running the set client mode logic. Fixes: e080fd5526949a5615ae391ea9dda8b70c95f345 (rest: add "server=" boot param in set client mode)
Diffstat (limited to 'sources/core.h')
0 files changed, 0 insertions, 0 deletions