Zoneserver mararc dns_port patch

Alexander Clouter alex at digriz.org.uk
Tue Feb 17 04:36:34 EST 2009


Hi,

* milan at physics.harvard.edu <milan at physics.harvard.edu> [Tue, 17 Feb 2009 01:08:47 -0500 (EST)]:
>
> +        /* Set the dns_port */
> +        dns_port = read_numeric_kvar("dns_port",53);
> +        if(dns_port < 1 || dns_port > 65530) {
> +            harderror("dns_port must be between 1 and 65530");
> +            exit(1);
> +        }

Only to satisfy my curiousity, why '> 65530' and not '> 65535', 
otherwise known as 2^16 - 1?

Cheers

-- 
Alexander Clouter
.sigmonster says: Reality is for people who lack imagination.



More information about the list mailing list