summaryrefslogtreecommitdiffstats
path: root/nat/nat2vpp/src/main/java/io
diff options
context:
space:
mode:
Diffstat (limited to 'nat/nat2vpp/src/main/java/io')
-rw-r--r--nat/nat2vpp/src/main/java/io/fd/hc2vpp/nat/NatModule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/nat/nat2vpp/src/main/java/io/fd/hc2vpp/nat/NatModule.java b/nat/nat2vpp/src/main/java/io/fd/hc2vpp/nat/NatModule.java
index cf6c3bc22..fece7b011 100644
--- a/nat/nat2vpp/src/main/java/io/fd/hc2vpp/nat/NatModule.java
+++ b/nat/nat2vpp/src/main/java/io/fd/hc2vpp/nat/NatModule.java
@@ -38,7 +38,7 @@ import org.slf4j.LoggerFactory;
/**
* Module class instantiating nat plugin components.
*/
-public final class NatModule extends AbstractModule {
+public class NatModule extends AbstractModule {
private static final Logger LOG = LoggerFactory.getLogger(NatModule.class);
private final Class<? extends Provider<FutureJVppSnatFacade>> jvppSnatProviderClass;
@@ -48,7 +48,7 @@ public final class NatModule extends AbstractModule {
}
@VisibleForTesting
- NatModule(Class<? extends Provider<FutureJVppSnatFacade>> jvppSnatProvider) {
+ protected NatModule(Class<? extends Provider<FutureJVppSnatFacade>> jvppSnatProvider) {
this.jvppSnatProviderClass = jvppSnatProvider;
}