]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[PATCH] net: allow newline terminated IP addresses in in_aton
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 9 Nov 2005 18:34:01 +0000 (10:34 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Sun, 13 Nov 2005 19:48:17 +0000 (14:48 -0500)
commit1e2e5659656b8b9bd9fa4714355d91282cb74178
treedd7aa1b83de409743b21d9e71b3e8a1834ad6f67
parentcd52d1ee9a92587b242d946a2300a3245d3b885a
[PATCH] net: allow newline terminated IP addresses in in_aton

in_aton() gives weird results if it sees a newline at the end of the
input. This patch makes it able to handle such input correctly.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/core/utils.c