From 64ae6f30fb879cf51b36014e77d2027470313e9d Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Mon, 12 Sep 2011 17:36:28 +0200 Subject: [PATCH] Fix ALLMODULECALL() It didn't call network modules, so stuff like OnBoot() wasn't sent to network modules. Signed-off-by: Uli Schlachter --- main.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.h b/main.h index 7fdd9769..ab04d993 100644 --- a/main.h +++ b/main.h @@ -38,6 +38,15 @@ if (UMods.macFUNC) { \ macEXITER; \ } \ + const vector& mNets = \ + it->second->GetNetworks(); \ + vector::const_iterator it2; \ + for (it2 = mNets.begin(); it2 != mNets.end(); ++it2) { \ + CModules& NMods = (*it2)->GetModules(); \ + if (NMods.macFUNC) { \ + macEXITER; \ + } \ + } \ } \ } \ } while (false)