subnet null check
Part of #2347 (closed).
Kea crashed because ctx.subnet_
was null while I was testing a prior version of the code in the sibling premium MR. While the current code does not crash, it would be nice to not take chances. Also checked subnet
for completeness.
Edited by Andrei Pavel