libnm-util: enforce IPv4 prefix range validity
authorDan Williams <dcbw@redhat.com>
Wed, 6 Jul 2011 00:26:43 +0000 (19:26 -0500)
committerDan Williams <dcbw@redhat.com>
Wed, 6 Jul 2011 00:26:57 +0000 (19:26 -0500)
commit39b2d78ee3f197652ee5d6a6773e81372a62bd74
treefbf59a101c8ef2dafdfe62b0f2942b385a350dc6
parent24855b02ecd72e499c4c05a3b98db1902bd15608
libnm-util: enforce IPv4 prefix range validity

Prefixes are between 1 and 32 inclusive so we might as well
enforce that.
libnm-util/nm-setting-ip4-config.c