~ubuntu-branches/ubuntu/maverick/squid3/maverick-updates

« back to all changes in this revision

Viewing changes to src/icmp/net_db.cc

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-08-10 17:28:42 UTC
  • mfrom: (21.2.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100810172842-iji5h90owqorkix1
Tags: 3.1.6-1ubuntu1
* Merge with Debian unstable, remaining changes:
  - Provide ufw profile.

Show diffs side-by-side

added added

removed removed

Lines of Context:
344
344
    IpAddress out;
345
345
 
346
346
    out = in;
347
 
#if USE_IPV6
348
347
 
349
348
    /* in IPv6 the 'network' should be the routing section. */
350
 
 
351
349
    if ( in.IsIPv6() ) {
352
350
        out.ApplyMask(64, AF_INET6);
353
351
        debugs(14, 5, "networkFromInaddr : Masked IPv6 Address to " << in << "/64 routing part.");
354
352
        return out;
355
353
    }
356
 
#endif
357
354
 
358
355
#if USE_CLASSFUL
359
356
    struct in_addr b;