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

Comparing ircd-hybrid/trunk/src/motd.c (file contents):
Revision 4351 by michael, Sat Aug 2 17:20:32 2014 UTC vs.
Revision 4415 by michael, Thu Aug 7 14:09:36 2014 UTC

# Line 69 | Line 69 | motd_create(const char *mask, const char
69        case HM_IPV4:
70        tmp->type = MOTD_IPMASKV4;
71        break;
72 #ifdef IPV6
72      case HM_IPV6:
73        tmp->type = MOTD_IPMASKV6;
74        break;
76 #endif
75      default: /* HM_HOST */
76        tmp->type = MOTD_HOSTMASK;
77        break;
# Line 256 | Line 254 | motd_lookup(const struct Client *client_
254              if (match_ipv4(&client_p->localClient->ip, &motd->address, motd->addrbits))
255                return motd;
256          break;
259 #ifdef IPV6
257        case MOTD_IPMASKV6:
258            if (client_p->localClient->aftype == AF_INET6)
259              if (match_ipv6(&client_p->localClient->ip, &motd->address, motd->addrbits))
260                return motd;
261          break;
265 #endif
262        default: break;
263      }
264    }

Diff Legend

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