diff --git a/etc/examples/nodes/iec61850-goose.conf b/etc/examples/nodes/iec61850-8-1.conf similarity index 99% rename from etc/examples/nodes/iec61850-goose.conf rename to etc/examples/nodes/iec61850-8-1.conf index 74c66b73b..819e128ef 100644 --- a/etc/examples/nodes/iec61850-goose.conf +++ b/etc/examples/nodes/iec61850-8-1.conf @@ -1,7 +1,7 @@ nodes = { goose = { - type = "iec61850-goose" + type = "iec61850-8-1" out = { # Ethernet interface to publish on diff --git a/lib/nodes/iec61850_goose.cpp b/lib/nodes/iec61850_goose.cpp index c7c3d4d94..338ed9750 100644 --- a/lib/nodes/iec61850_goose.cpp +++ b/lib/nodes/iec61850_goose.cpp @@ -927,14 +927,6 @@ int GooseNode::stop() return Node::stop(); } -static char name[] = "iec61850-goose"; -static char description[] = "Subscribe to and publish GOOSE messages"; -static NodePlugin< - GooseNode, - name, - description, - (int) NodeFactory::Flags::SUPPORTS_READ - | (int) NodeFactory::Flags::SUPPORTS_WRITE - | (int) NodeFactory::Flags::SUPPORTS_POLL, - 1 -> p; +static char name[] = "iec61850-8-1"; +static char description[] = "IEC 61850-8-1 (GOOSE)"; +static NodePlugin p;