[sr-dev] git:3.1: snmpstats: support of OPTIONS advertised also for siputils module

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 28 21:17:11 CET 2011


Module: sip-router
Branch: 3.1
Commit: 58e87ff7de98baccf70b1ca8899b6b7bf59dab2f
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=58e87ff7de98baccf70b1ca8899b6b7bf59dab2f

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Jan 28 17:20:19 2011 +0100

snmpstats: support of OPTIONS advertised also for siputils module
(cherry picked from commit 9d5bae90cdd40e05e6aaff488a5c86f7241aa261)

---

 modules_k/snmpstats/snmpSIPMethodSupportedTable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules_k/snmpstats/snmpSIPMethodSupportedTable.c b/modules_k/snmpstats/snmpSIPMethodSupportedTable.c
index f574235..fc62953 100644
--- a/modules_k/snmpstats/snmpSIPMethodSupportedTable.c
+++ b/modules_k/snmpstats/snmpSIPMethodSupportedTable.c
@@ -150,7 +150,7 @@ void init_openserSIPMethodSupportedTable(void)
 		createRow(4, "METHOD_BYE");
 	}
 
-	if (module_loaded("options")) {
+	if (module_loaded("options") || module_loaded("siputils")) {
 		createRow(6, "METHOD_OPTIONS");
 	}
 




More information about the sr-dev mailing list