[lldp-devel] [PATCH] evb lower case comparision for EVB protocol parameters

John Fastabend john.fastabend at gmail.com
Tue Mar 5 07:55:18 UTC 2013


On 03/04/2013 06:55 AM, Thomas Richter wrote:
> The lldpad configuration file may store IEEE 802.1 Qbg parameters
> (such as fmode and capabilities) in upper case letters.
> When reading the confuration file the values a compared
> against lower case strings and do not match.
> The patch reads the configuration file values and converts
> them to lowercase before the comparison.
>
> Signed-off-by: Thomas Richter <tmricht at linux.vnet.ibm.com>
> ---

Would it be more convenient to use case case insensitive
operations strcasestr for example? Also why don't we just
write the strings in the case we expect them in?

-- 
John Fastabend         Intel Corporation


More information about the lldp-devel mailing list