diff --git a/doc/man/man5/slurm.conf.5 b/doc/man/man5/slurm.conf.5 index b31628e37464c8e0efc92f6bb8f9e8ede813da1c..1c9c7ef7360f803153eeac69b9c0b717a62b2632 100644 --- a/doc/man/man5/slurm.conf.5 +++ b/doc/man/man5/slurm.conf.5 @@ -3419,7 +3419,7 @@ The value of "NoInAddrAny" is used to directly bind to the address of what the node resolves to instead of binding messages to any address on the node which is the default. This option is for all daemons/clients except for the slurmctld. -The value of "NoInAddrAnyCtld" is used to directly bind to the address of what +The value of "NoCtldInAddrAny" is used to directly bind to the address of what the node resolves to running the slurmctld instead of binding messages to any address on the node, which is the default. diff --git a/src/common/slurm_protocol_api.c b/src/common/slurm_protocol_api.c index 7e23642f06c3f92f84f7999737397d5c198f020a..bd1e3d19bfa20cd95090c2ef95fe90b1c54fc34a 100644 --- a/src/common/slurm_protocol_api.c +++ b/src/common/slurm_protocol_api.c @@ -4594,7 +4594,7 @@ extern void slurm_setup_sockaddr(struct sockaddr_in *sin, uint16_t port) char *var; if (run_in_daemon("slurmctld")) - var = "NoInAddrAnyCtld"; + var = "NoCtldInAddrAny"; else var = "NoInAddrAny";