Changeset c9b4ab5 for router


Ignore:
Timestamp:
Jun 22, 2016 5:28:55 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
2506f6b
Parents:
08fad38
Message:

Prep for IPv6 SSU Peer Testing

Location:
router/java/src/net/i2p/router
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/RouterVersion.java

    r08fad38 rc9b4ab5  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 1;
     21    public final static long BUILD = 2;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/transport/TransportImpl.java

    r08fad38 rc9b4ab5  
    820820    }
    821821
     822    /**
     823     *  @since 0.9.27
     824     */
     825    protected boolean isIPv6Firewalled() {
     826        return TransportUtil.isIPv4Firewalled(_context, getStyle());
     827    }
     828
    822829    public boolean isBacklogged(Hash peer) { return false; }
    823830    public boolean isEstablished(Hash peer) { return false; }
  • router/java/src/net/i2p/router/transport/TransportUtil.java

    r08fad38 rc9b4ab5  
    9191    public static boolean isIPv4Firewalled(RouterContext ctx, String transportStyle) {
    9292        return ctx.getBooleanProperty(PROP_IPV4_FIREWALLED);
     93    }
     94
     95    /**
     96     *  @param transportStyle ignored
     97     *  @since 0.9.27
     98     */
     99    public static boolean isIPv6Firewalled(RouterContext ctx, String transportStyle) {
     100        // TODO
     101        //return ctx.getBooleanProperty(PROP_IPV6_FIREWALLED);
     102        return false;
    93103    }
    94104
Note: See TracChangeset for help on using the changeset viewer.