dahdi-base: Hide "Master changed to" message
Put the "Master changed to xxx/x/x" message behind a debug flag. It's an implementation specific detail and has caused confusion with customers. DAHDI-692 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9299 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
parent
40ad4a85a3
commit
f2fa702132
@ -3536,10 +3536,12 @@ void dahdi_alarm_notify(struct dahdi_span *span)
|
||||
for (x=1; x<maxspans; x++) {
|
||||
if (spans[x] && !spans[x]->alarms && (spans[x]->flags & DAHDI_FLAG_RUNNING)) {
|
||||
if (master != spans[x]) {
|
||||
if (debug) {
|
||||
module_printk(KERN_NOTICE,
|
||||
"Master changed to %s\n",
|
||||
spans[x]->name);
|
||||
}
|
||||
}
|
||||
master = spans[x];
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user