From 2ae2e4e860194ee8d2b5ec5c4a1375751f51dd98 Mon Sep 17 00:00:00 2001 From: imarom Date: Thu, 19 Nov 2015 17:17:38 +0200 Subject: full async DP stop support --- src/publisher/trex_publisher.cpp | 2 +- src/publisher/trex_publisher.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/publisher') diff --git a/src/publisher/trex_publisher.cpp b/src/publisher/trex_publisher.cpp index 1afb558a..35653069 100644 --- a/src/publisher/trex_publisher.cpp +++ b/src/publisher/trex_publisher.cpp @@ -86,7 +86,7 @@ TrexPublisher::publish_event(event_type_e type, const Json::Value &data) { Json::Value value; std::string s; - value["name"] = "event"; + value["name"] = "trex-event"; value["type"] = type; value["data"] = data; diff --git a/src/publisher/trex_publisher.h b/src/publisher/trex_publisher.h index 07d06678..82603fda 100644 --- a/src/publisher/trex_publisher.h +++ b/src/publisher/trex_publisher.h @@ -39,7 +39,7 @@ public: void publish_json(const std::string &s); enum event_type_e { - EVENT_PORT_STOPPED = 1 + EVENT_PORT_STOPPED = 0 }; void publish_event(event_type_e type, const Json::Value &data); -- cgit 1.2.3-korg