ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/conf_class.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/conf_class.c (file contents):
Revision 4413 by michael, Fri May 16 11:22:00 2014 UTC vs.
Revision 4414 by michael, Thu Aug 7 14:06:08 2014 UTC

# Line 264 | Line 264 | cidr_limit_reached(int over_rule, struct
264      mask_addr(&cidr->mask, class->cidr_bitlen_ipv4);
265      dlinkAdd(cidr, &cidr->node, &class->list_ipv4);
266    }
267 #ifdef IPV6
267    else if (class->cidr_bitlen_ipv6 > 0)
268    {
269      DLINK_FOREACH(ptr, class->list_ipv6.head)
# Line 287 | Line 286 | cidr_limit_reached(int over_rule, struct
286      mask_addr(&cidr->mask, class->cidr_bitlen_ipv6);
287      dlinkAdd(cidr, &cidr->node, &class->list_ipv6);
288    }
289 < #endif
289 >
290    return 0;
291   }
292  
# Line 331 | Line 330 | remove_from_cidr_check(struct irc_ssaddr
330        }
331      }
332    }
334 #ifdef IPV6
333    else if (aclass->cidr_bitlen_ipv6 > 0)
334    {
335      DLINK_FOREACH_SAFE(ptr, next_ptr, aclass->list_ipv6.head)
# Line 351 | Line 349 | remove_from_cidr_check(struct irc_ssaddr
349        }
350      }
351    }
354 #endif
352   }
353  
354   void

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)