title: Subnet mask returned from WMI not accepted in postgresql
body: <p>In a inventory sotware I use WMI to get informations from machines.
  <br>My query:</p>
  
  <pre><code>SELECT * FROM Win32_NetworkAdapterConfiguration
  </code></pre>
  
  <p>For every machine I save ip addresses in a database, getting values from <strong>IPAddress</strong> and <strong>IPSubnet</strong> fields. For some servers everything works ok, for bot ipv4 and ipv6 addresses.</p>
  
  <p>On some Windows 2008r2 server I have a problem with the <strong>Microsoft Failover Cluster Virtual Adapter</strong> interface. It has a ipv6 address. Fine. But as subnet mask it give me the string: 64</p>
  
  <p>When I try to use it in my postgresql function I have the error:</p>
  
  <pre><code>ERROR: invalid input syntax for type inet: "64"
  </code></pre>
  
  <p>Is 64 a valid ipv6 subnet mask?
  <br>If yes, why postgresql does not accept it? How can I workaround this problem?
  <br>If not, how can I workaround this problem?</p>
  
  <p>Version involved:</p>
  
  <ul>
  <li>Microsoft Windows Server 2008 R2 Enterprise SP1</li>
  <li>Postgresql 9.3 (on linux)</li>
  <li>.net framework 4 (but I think it is irrilevant in this case)</li>
  </ul>