Skip to content

Commit

Permalink
Do not use DPDK by default in FromDump
Browse files Browse the repository at this point in the history
DPDK might not be initialized so this is a bit dangerous
  • Loading branch information
tbarbette committed Feb 24, 2025
1 parent c871480 commit 1ac6d4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -8362,12 +8362,15 @@ fi
# Check whether --enable-clone was given.
if test ${enable_clone+y}
then :
enableval=$enable_clone; printf "%s\n" "#define CLICK_NOINDIRECT 1" >>confdefs.h

enableval=$enable_clone; :
else $as_nop
:
fi

if test "$enable_clone" = no; then
printf "%s\n" "#define CLICK_NOINDIRECT 1" >>confdefs.h

fi

# Check whether --enable-rsspp was given.
if test ${enable_rsspp+y}
Expand Down
2 changes: 1 addition & 1 deletion lib/fromfile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ FromFile::FromFile()
_mmap(true),
#endif
#if HAVE_DPDK
_dpdk(true),
_dpdk(false),
#endif
_filename(), _pipe(0), _landmark_pattern("%f"), _lineno(0)
{
Expand Down

0 comments on commit 1ac6d4d

Please sign in to comment.