diff --git a/src/olsr/helper/olsr-helper.cc b/src/olsr/helper/olsr-helper.cc index 357a90cd3..b54a69181 100644 --- a/src/olsr/helper/olsr-helper.cc +++ b/src/olsr/helper/olsr-helper.cc @@ -114,7 +114,7 @@ OlsrHelper::AssignStreams (NodeContainer c, int64_t stream) listOlsr = DynamicCast (listProto); if (listOlsr) { - currentStream += olsr->AssignStreams (currentStream); + currentStream += listOlsr->AssignStreams (currentStream); break; } }