lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] LWIP_RAND in dns.c


From: address@hidden
Subject: Re: [lwip-users] LWIP_RAND in dns.c
Date: Thu, 01 Oct 2015 20:54:47 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Gennady Shmakov wrote:
Thanks for clarification. Does it make sense to move these defines in opt.h to avoid editing *.c files when these features are not needed?

#define LWIP_DNS_SECURE_RAND_XID                1
#define LWIP_DNS_SECURE_NO_MULTIPLE_OUTSTANDING 2
#define LWIP_DNS_SECURE_RAND_SRC_PORT           4

That would make perfect sense. As it is now, noone can assign anything to LWIP_DNS_SECURE unless they use numbers, which is no a very good idea. Don't know what I thought when writing it that way...

Simon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]