LDM
LDM copied to clipboard
Add support for registry parameter "/server/ip-addr"
The parameter is there, but not code attempts to use it.
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?
Good idea.
Do you think you can do it?
It's currently implemented in ldmadmin.py.
Did you also modify all the registry stuff, including the documentation?
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.
The registry parameters are documented in file "regutil/regpar.tab.in".
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