From fc35e10dc4acd5149b465b8f1959aae941ff198e Mon Sep 17 00:00:00 2001 From: imarom Date: Tue, 22 Nov 2016 19:32:30 +0200 Subject: RX features - removed 'none' and used Json::nullValue Signed-off-by: imarom --- src/trex_port_attr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/trex_port_attr.cpp') diff --git a/src/trex_port_attr.cpp b/src/trex_port_attr.cpp index 26199e33..20b441e2 100644 --- a/src/trex_port_attr.cpp +++ b/src/trex_port_attr.cpp @@ -57,7 +57,7 @@ TRexPortAttr::to_json(Json::Value &output) { if (get_src_ipv4() != 0) { output["src_ipv4"] = utl_uint32_to_ipv4(get_src_ipv4()); } else { - output["src_ipv4"] = "none"; + output["src_ipv4"] = Json::nullValue; } -- cgit 1.2.3-korg