[netcf-devel] [PATCH] Make lookup-by-MAC case-insensitive

Jonas Eriksson jonas.j.eriksson at ericsson.com
Wed Jul 29 12:36:13 UTC 2009


On Wed, Jul 29, 2009 at 12:11:54PM +0200 David Lutterkort wrote:
> The /sys file system stores MAC's in all-lowercase; we therefore have to
> translate MAC's to lowercase before looking up.
> 
> Fixes BZ 512955
> 
>   * bootstrap: use c-ctype module from gnulib
>   * src/dutil-linux.c (aug_match_mac): use tolower'd MAC for lookup
>   * tests/test-initscripts.c: test correct lookup of mixed-case MACs
> ---
>  bootstrap                |    1 +
>  src/dutil_linux.c        |   14 +++++++++++---
>  tests/test-initscripts.c |   10 ++++++++++
>  3 files changed, 22 insertions(+), 3 deletions(-)

As said on IRC, let's just ignore my fix to this problem and use
this patch instead. As a matter of fact, I did not know about
this bug report.

In short: ACK!

/Jonas

--
Jonas Eriksson
Consultant at AS/EAB/FLJ/IL
Combitech AB
Älvsjö, Sweden


More information about the netcf-devel mailing list