LDM icon indicating copy to clipboard operation
LDM copied to clipboard

Add support for registry parameter "/server/ip-addr"

Open semmerson opened this issue 8 years ago • 7 comments

The parameter is there, but not code attempts to use it.

semmerson avatar Nov 11 '16 23:11 semmerson

In ldmadmin.pl, line 918: $cmd_line = $cmd_line . " $ip_addr" if $ip_addr ne "0.0.0.0"; where a different ip_addr than "0.0.0.0" could be set in the registry and used here. What other usage of ip_addr should there be?

mustbei avatar Apr 07 '21 13:04 mustbei

Good idea.

Do you think you can do it?

semmerson avatar Apr 07 '21 15:04 semmerson

It's currently implemented in ldmadmin.py.

mustbei avatar Apr 07 '21 15:04 mustbei

Did you also modify all the registry stuff, including the documentation?

semmerson avatar Apr 07 '21 17:04 semmerson

There is currently no mention of ip_addr setting in the registry.xml within the ldmadmin man page. Probably because ip_addr is NOT an argument to any ldmadmin commands that the user could set / overwrite default.

mustbei avatar Apr 08 '21 17:04 mustbei

The registry parameters are documented in file "regutil/regpar.tab.in".

semmerson avatar Apr 08 '21 19:04 semmerson

Will do. Thank you! It looks like it's already documented correctly there: IP_ADDR:/server/ip-addr:The IP address of the interface on which the LDM server should listen for incoming connections. An address of 0.0.0.0 will cause the server to listen on all available interfaces.:0.0.0.0:ip_addr

mustbei avatar Apr 08 '21 19:04 mustbei