Nameif broken
Denys Vlasenko
vda.linux at googlemail.com
Wed Apr 9 19:03:21 PDT 2008
On Wednesday 09 April 2008 22:05, Nico Erfurth wrote:
> Hi,
>
> some months ago I've send a patch to extend the matching capabilities of
> nameif. The patch was modified (in fact broken ;]) and applied.
>
> While testing the latest releases i've found that nameif does not work
> at all anymore, as the /proc/net/dev parsing code and some other things
> were broken.
>
> Appended is a patch to fix nameif, I've also extended the cleanup-code
> to match the new data structure and did some minor code shrinks.
- *skip_non_whitespace(line_ptr) = '\0';
+ *strpbrk(line_ptr, " \t\n:") = '\0';
Why ':' is considered a terminator too? (I want to add a comment there).
Applied. Thanks.
--
vda
More information about the busybox
mailing list