Re: [PATCH iproute2 v2 2/2] arpd: fix parsing of unlikely long comments

2016-01-03 Thread Stephen Hemminger
On Sun, 3 Jan 2016 19:44:29 +0100 Andreas Henriksson wrote: > Hello Stephen Hemminger. > > Please beware that this has been compile-tested only. > Submitting it like this was what I was trying to avoid > by just throwing in a FIXME comment in the initial submission. > Sorry in advance if I manag

Re: [PATCH iproute2 v2 2/2] arpd: fix parsing of unlikely long comments

2016-01-03 Thread Andreas Henriksson
Hello Stephen Hemminger. Please beware that this has been compile-tested only. Submitting it like this was what I was trying to avoid by just throwing in a FIXME comment in the initial submission. Sorry in advance if I managed to screw something up, but hopefully I didn't... Regards, Andreas Henr

[PATCH iproute2 v2 2/2] arpd: fix parsing of unlikely long comments

2016-01-03 Thread Andreas Henriksson
In case the commented out line was longer than the buffer size, the remaining part was previously not properly skipped. With this fix we should now continue ignoring lines starting with # until we find a newline character. Signed-off-by: Andreas Henriksson --- misc/arpd.c | 14 +- 1