commit | 516ffb6b7724e97ca035293dcfd9f94cf6ce3a47 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | Thu May 22 13:41:40 2008 -0700 |
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | Thu May 22 13:41:40 2008 -0700 |
tree | 6e28a09dd5b05ad26d1b8f44696fd066e2a58e03 | |
parent | 7dfb0366655a136f82c23fb3a6e6f30b482e3f86 [diff] |
Use inet_pton to read ipv4 addresses Use the standard POSIX inet_pton to convert from string to IPV4 address. This avoids problems where ip parses "127.2" wrong.