From 2253d5c00805ed4d584b62950948aea0e4c8f6e5 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 21 Jan 2019 16:22:06 +0100 Subject: [PATCH] fix example config --- etc/example.conf | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/etc/example.conf b/etc/example.conf index a70699bde..c441e69f5 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -42,17 +42,6 @@ nodes = { builtin = false, # By default, all nodes will have a few builtin hooks attached to them. # When collecting statistics or measurements these are undesired. - - hooks = ( - { - type = "stats", - - warmup = 100, # The first 100 samples are used to estimate bounds for the histograms - format = "human", # One of: human, json, matlab - bucket = 30, # The number of buckets for the histograms - verbose = true # Plot histograms during shutdown - } - ), ### The following settings are specific to the socket node-type!! ### @@ -67,6 +56,7 @@ nodes = { address = "127.0.0.1:12001" # This node only received messages on this IP:Port pair verify_source = true, # Check if source address of incoming packets matches the remote address. + multicast = { # IGMP multicast is only support for layer = (ip|udp) enabled = true, @@ -74,7 +64,18 @@ nodes = { interface = "1.2.3.4", # The IP address of the interface which should receive multicast packets. ttl = 128, # The time to live for outgoing multicast packets. loop = false, # Whether or not to loopback outgoing multicast packets to the local host. - } + }, + + hooks = ( + { + type = "stats", + + warmup = 100, # The first 100 samples are used to estimate bounds for the histograms + format = "human", # One of: human, json, matlab + bucket = 30, # The number of buckets for the histograms + verbose = true # Plot histograms during shutdown + } + ) }, out = { address = "127.0.0.1:12000", # This node sents outgoing messages to this IP:Port pair