Deprecate opt_internal_val()

This commit is contained in:
Jon Siwek 2020-05-08 19:38:24 -07:00
parent 26f6fe01c8
commit 447b052d11
5 changed files with 23 additions and 7 deletions

View file

@ -406,7 +406,7 @@ void init_net_var()
pkt_profile_mode = opt_internal_int("pkt_profile_mode");
pkt_profile_freq = opt_internal_double("pkt_profile_freq");
pkt_profile_file = opt_internal_val("pkt_profile_file");
pkt_profile_file = zeek::lookup_val("pkt_profile_file").get();
load_sample_freq = opt_internal_int("load_sample_freq");