Changeset 2c65173 for router


Ignore:
Timestamp:
Nov 12, 2016 3:14:43 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
6ed329d
Parents:
6acc23af
Message:

Console: Add IPv6 firewalled setting on /confignet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/TransportUtil.java

    r6acc23af r2c65173  
    2626    public static final String SSU_IPV6_CONFIG = "i2np.udp.ipv6";
    2727    public static final String PROP_IPV4_FIREWALLED = "i2np.ipv4.firewalled";
     28    /** @since 0.9.28 */
     29    public static final String PROP_IPV6_FIREWALLED = "i2np.ipv6.firewalled";
    2830
    2931    public enum IPv6Config {
     
    100102     *
    101103     *  @param transportStyle ignored
    102      *  @since 0.9.27
     104     *  @since 0.9.27, implemented in 0.9.28
    103105     */
    104106    public static boolean isIPv6Firewalled(RouterContext ctx, String transportStyle) {
    105         // TODO
    106         //return ctx.getBooleanProperty(PROP_IPV6_FIREWALLED);
    107         return false;
     107        return ctx.getBooleanProperty(PROP_IPV6_FIREWALLED);
    108108    }
    109109
Note: See TracChangeset for help on using the changeset viewer.