Skip to content

Commit

Permalink
Fixed missed 'value' rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimi1010 committed Aug 15, 2024
1 parent c74d3cb commit af50cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pcap++/src/PcapLiveDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ namespace pcpp

if (ready > 0)
{
if (pcap_dispatch(m_PcapDescriptor.value(), -1, onPacketArrivesBlockingMode,
if (pcap_dispatch(m_PcapDescriptor.get(), -1, onPacketArrivesBlockingMode,
reinterpret_cast<uint8_t*>(this)) == -1)
{
PCPP_LOG_ERROR("pcap_dispatch returned an error: " << m_PcapDescriptor.getLastErrorView());
Expand Down

0 comments on commit af50cbd

Please sign in to comment.