[BACK]Return to inet_net_ntop.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / inet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/inet/inet_net_ntop.c between version 1.3 and 1.4

version 1.3, 2012/03/20 17:08:13 version 1.4, 2017/05/09 02:56:44
Line 199  inet_net_ntop_ipv6(const u_char *src, in
Line 199  inet_net_ntop_ipv6(const u_char *src, in
                 memset(inbuf + p, 0, 16 - p);                  memset(inbuf + p, 0, 16 - p);
                 b = bits % 8;                  b = bits % 8;
                 if (b != 0) {                  if (b != 0) {
                         m = ~0 << (8 - b);                          m = ~0u << (8 - b);
                         inbuf[p-1] &= m;                          inbuf[p-1] &= m;
                 }                  }
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>