+ * "good enough")
+ */
+static bool
+route_ipv6_match_host( const struct route_ipv6 *r6,
+                      const struct in6_addr *host )
+{
+    int bits = r6->netbits;
+    int i;
+    unsigned int mask;
+
+    if ( bits<0 || bits>128 )
+       return false;


bits should be unisgned int since r6->netbits is unsigned int and also
drop the bits <0

Rest looks fine to me. So ACK.

Arne


Reply via email to