/[svn]/ircd-hybrid/trunk/src/hostmask.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/hostmask.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6579 by michael, Mon Oct 19 19:10:05 2015 UTC revision 6580 by michael, Mon Oct 19 19:52:11 2015 UTC
# Line 88  try_parse_v6_netmask(const char *text, s Line 88  try_parse_v6_netmask(const char *text, s
88        }        }
89        else        else
90        {        {
91          /* If there were less than 4 hex digits, e.g. :ABC: shift right          /*
92           * so we don't interpret it as ABC0 -A1kmm */           * If there were less than 4 hex digits, e.g. :ABC: shift right
93             * so we don't interpret it as ABC0 -A1kmm
94             */
95          d[dp] = d[dp] >> 4 * nyble;          d[dp] = d[dp] >> 4 * nyble;
96          nyble = 4;          nyble = 4;
97    
98          if (++dp >= 8)          if (++dp >= 8)
99            return HM_HOST;            return HM_HOST;
100        }        }

Legend:
Removed from v.6579  
changed lines
  Added in v.6580

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26