Skip to content
Snippets Groups Projects
Commit f4e6f1d9 authored by rswindell's avatar rswindell
Browse files

Add support for a [dyndns] section in ctrl/modopts.ini for the following

settings (keys): mx, ip, ip6

This allows you to specify a long string (e.g. address) here without
exceeding the 63 char external program command-line limit.
parent 87c8746b
No related branches found
No related tags found
No related merge requests found
......@@ -18,9 +18,13 @@ function writeln(str)
print(str);
}
var mx_record;
var ip_address;
var ip6_address;
var options=load({}, "modopts.js", "dyndns");
if(!options)
options = {};
var mx_record = options.mx;
var ip_address = options.ip;
var ip6_address = options.ip6;
var host_name = system.qwk_id;
for(i=1;i<argc;i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment