Changeset 14578


Ignore:
Timestamp:
Oct 16, 2015, 7:49:07 PM (5 years ago)
Author:
mikedld
Message:

#5992: Remove now obsolete check for 13th Baktun (already happened)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r14574 r14578  
    638638                 (address[0] == 127) ||
    639639                 ((address[0] & 0xE0) == 0xE0);
    640             break;
    641640        }
    642641
     
    645644            return (address[0] == 0xFF) ||
    646645                 (memcmp (address, zeroes, 15) == 0 &&
    647                   (address[15] == 0 || address[15] == 1)) ||
    648                    /* Addresses outside of 2000::/3 are currently reserved,
    649                       but might be allocated at some future time. Since
    650                       there are a lot of buggy peers pushing around such
    651                       addresses over PEX, we reject them until the end of
    652                       the 13th Baktun. */
    653                  (tr_time () < 1356130800 && (address[0] & 0xE0) != 0x20);
    654             break;
     646                  (address[15] == 0 || address[15] == 1));
    655647        }
    656648
Note: See TracChangeset for help on using the changeset viewer.