diff options
author | Max Kellermann <max@duempel.org> | 2015-01-21 22:36:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-21 23:30:00 +0100 |
commit | 1c3f5517fabc264d7b37935bd37197cdd68250ba (patch) | |
tree | 509f68fe930e79bfa4c70a1cf2146a347f8acdef /src/neighbor | |
parent | 10972da06030d57429dc2c86c21e37fd0aca88dc (diff) |
config/Option: convert to strictly-typed enum
Diffstat (limited to 'src/neighbor')
-rw-r--r-- | src/neighbor/Glue.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/neighbor/Glue.cxx b/src/neighbor/Glue.cxx index e5d67f962..57383b1d5 100644 --- a/src/neighbor/Glue.cxx +++ b/src/neighbor/Glue.cxx @@ -59,7 +59,7 @@ CreateNeighborExplorer(EventLoop &loop, NeighborListener &listener, bool NeighborGlue::Init(EventLoop &loop, NeighborListener &listener, Error &error) { - for (const config_param *param = config_get_param(CONF_NEIGHBORS); + for (const auto *param = config_get_param(ConfigOption::NEIGHBORS); param != nullptr; param = param->next) { NeighborExplorer *explorer = CreateNeighborExplorer(loop, listener, *param, error); |