commit | 66b974d2d679ece3aa67032bbc13ac166702cede | [log] [tgz] |
---|---|---|
author | Nagaraju Goruganti <ngorugan@in.ibm.com> | Tue Oct 03 08:43:08 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Oct 11 23:16:31 2017 +0000 |
tree | 4c31f2c253a8b2d289aad27970a31e0a13611d03 | |
parent | c9645fe5c874930445bca6ba51ac9daee916c99b [diff] |
IP Address use case validation -validates IPAddress/gateway using inet_pton api. -validates prefix length for ipv4/ipv6. -if dhcp is enabled, it won't allow to set ip/gateway. Resolves openbmc/openbmc#1671 Change-Id: I76c1d9d11dfb59002eb1310d87e94ee622714a4a Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>