net: fix netconsole filtering
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 3 Oct 2012 09:14:03 +0000 (09:14 +0000)
committerTom Rini <trini@ti.com>
Wed, 3 Oct 2012 23:01:22 +0000 (16:01 -0700)
commit8cab08e8045e1ec3799d9d3ad875f5755818069c
tree9ef47627b9b40b973f3236a1c5652c6796bf1735
parentecd72950044f9bcc68ff0ef5b3dbda79dff31fd3
net: fix netconsole filtering

Adjustment of Michael Walle's fix patch

Commit 8a0eccb1056b313b45ab62e3aac400f339aa71b4 breaks netconsole. src_ip
must not be converted to host byte order, because nc_ip is already stored
in network byte order (see string_to_ip(), called by getenv_IPaddr()).

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
net/net.c