Ejemplo n.º 1
0
 public OptionPolicyFilter(IPv4Address ip, IPv4Address mask)
 {
     pair = new IPAddressMaskPair()
     {
         Address = ip, Netmask = (byte)GetCIDRFromBytes(mask.Address)
     };
 }
Ejemplo n.º 2
0
 /// <inheritdoc />
 protected AOptionIPAddressMask(IPAddressMaskPair ipmask)
 {
     IPMaskPair.Add(ipmask);
 }