Lines 563-575
OpenCloseSignal(int sig)
Link Here
|
563 |
if (sig == SIGUSR1) { |
563 |
if (sig == SIGUSR1) { |
564 |
Log(LG_ALWAYS, ("[%s] rec'd signal %s, opening", |
564 |
Log(LG_ALWAYS, ("[%s] rec'd signal %s, opening", |
565 |
l->name, sys_signame[sig])); |
565 |
l->name, sys_signame[sig])); |
566 |
RecordLinkUpDownReason(NULL, l, 1, STR_MANUALLY, NULL); |
566 |
LinkOpenAdm(l); |
567 |
LinkOpen(l); |
|
|
568 |
} else { |
567 |
} else { |
569 |
Log(LG_ALWAYS, ("[%s] rec'd signal %s, closing", |
568 |
Log(LG_ALWAYS, ("[%s] rec'd signal %s, closing", |
570 |
l->name, sys_signame[sig])); |
569 |
l->name, sys_signame[sig])); |
571 |
RecordLinkUpDownReason(NULL, l, 0, STR_MANUALLY, NULL); |
570 |
LinkCloseAdm(l); |
572 |
LinkClose(l); |
|
|
573 |
} |
571 |
} |
574 |
} else |
572 |
} else |
575 |
Log(LG_ALWAYS, ("rec'd signal %s, ignored", sys_signame[sig])); |
573 |
Log(LG_ALWAYS, ("rec'd signal %s, ignored", sys_signame[sig])); |