diff --git a/example/src/main/java/io/netty/example/proxy/HexDumpProxy.java b/example/src/main/java/io/netty/example/proxy/HexDumpProxy.java index d09a999ffb..855bbc4d36 100644 --- a/example/src/main/java/io/netty/example/proxy/HexDumpProxy.java +++ b/example/src/main/java/io/netty/example/proxy/HexDumpProxy.java @@ -42,7 +42,7 @@ public class HexDumpProxy { String remoteHost = args[1]; int remotePort = Integer.parseInt(args[2]); - run(localPort, remoteHost, remotePort); + new HexDumpProxy(localPort, remoteHost, remotePort).run(); } private final int localPort;