diff --git a/jxnet-spring-boot-starter-example/src/main/java/com/ardikars/jxnet/spring/boot/starter/example/configuration/DefaultJxpacketHandler.java b/jxnet-spring-boot-starter-example/src/main/java/com/ardikars/jxnet/spring/boot/starter/example/configuration/DefaultJxpacketHandler.java index 0f910945..763e0b4c 100644 --- a/jxnet-spring-boot-starter-example/src/main/java/com/ardikars/jxnet/spring/boot/starter/example/configuration/DefaultJxpacketHandler.java +++ b/jxnet-spring-boot-starter-example/src/main/java/com/ardikars/jxnet/spring/boot/starter/example/configuration/DefaultJxpacketHandler.java @@ -21,6 +21,7 @@ import com.ardikars.jxnet.PcapPktHdr; import com.ardikars.jxnet.spring.boot.autoconfigure.JxpacketHandler; import com.ardikars.jxnet.spring.boot.autoconfigure.annotation.EnablePacket; +import com.ardikars.jxnet.spring.boot.autoconfigure.constant.PacketHandlerType; import com.ardikars.jxpacket.common.Packet; import java.util.Iterator; import java.util.concurrent.ExecutionException; @@ -35,7 +36,7 @@ * @author Ardika Rommy Sanjaya * @since 1.4.9 */ -@EnablePacket +@EnablePacket(packetHandlerType = PacketHandlerType.JXPACKET_RAW) @Configuration public class DefaultJxpacketHandler implements JxpacketHandler {