]> git.ipfire.org Git - thirdparty/kea.git/commit
[#640,!351] Access port from value given on the command line
authorStephen Morris <stephen@isc.org>
Tue, 2 Jul 2019 14:34:30 +0000 (15:34 +0100)
committerStephen Morris <stephen@isc.org>
Tue, 1 Oct 2019 16:00:21 +0000 (17:00 +0100)
commit10f5de01a01552cd1cb20bb33721e79a23704107
treed13e9a9bac8d0891b82513cfb12c7cc08cba01ff
parent748fbd23e311c1a3a2ca6f48da69c728cec977fb
[#640,!351] Access port from value given on the command line

The "-p" command-line switch (a debug option) tells Kea what port
to listen on.  This is easily accessible by the Fuzz object, so
get the port from this instead of an environment variable (which
had to be equal to the value given to the -p switch anyway.)
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp6/dhcp6_srv.cc
src/lib/dhcpsrv/fuzz.cc
src/lib/dhcpsrv/fuzz.h