cgivre commented on a change in pull request #1932: DRILL-7485: NPE on PCAP
Batch Reader
URL: https://github.com/apache/drill/pull/1932#discussion_r357951784
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/store/pcap/PcapBatchReader.java
##########
@@ -406,8 +406,19 @@ private void addDataToTable(Packet packet, int
networkType, RowSetLoader rowWrit
srcMacAddressWriter.setString(packet.getEthernetSource());
dstMacAddressWriter.setString(packet.getEthernetDestination());
- dstIPWriter.setString(packet.getDst_ip().getHostAddress());
- srcIPWriter.setString(packet.getSrc_ip().getHostAddress());
+ String dst_ip = packet.getDst_ip_String();
Review comment:
Fixed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services