version 1.1, 2012/02/21 23:32:47
|
version 1.1.1.2, 2016/11/01 09:56:12
|
Line 1147 FsmSendIdent(Fsm fp, const char *ident)
|
Line 1147 FsmSendIdent(Fsm fp, const char *ident)
|
bp = mbcopyback(bp, sizeof(self_magic), ident, len); |
bp = mbcopyback(bp, sizeof(self_magic), ident, len); |
|
|
/* Send it */ |
/* Send it */ |
Log(LG_FSM, ("[%s] %s: SendIdent #%d", Pref(fp), Fsm(fp), fp->echoid)); | Log(fp->log2, ("[%s] %s: SendIdent #%d", Pref(fp), Fsm(fp), fp->echoid)); |
ShowMesg(LG_FSM, Pref(fp), ident, len); | ShowMesg(fp->log2, Pref(fp), ident, len); |
FsmOutputMbuf(fp, CODE_IDENT, fp->echoid++, bp); |
FsmOutputMbuf(fp, CODE_IDENT, fp->echoid++, bp); |
} |
} |
|
|
Line 1174 FsmSendTimeRemaining(Fsm fp, u_int seconds)
|
Line 1174 FsmSendTimeRemaining(Fsm fp, u_int seconds)
|
bp = mbcopyback(bp, sizeof(self_magic), &data, 4); |
bp = mbcopyback(bp, sizeof(self_magic), &data, 4); |
|
|
/* Send it */ |
/* Send it */ |
Log(LG_FSM, ("[%s] %s: SendTimeRemaining #%d", Pref(fp), Fsm(fp), fp->echoid)); | Log(fp->log2, ("[%s] %s: SendTimeRemaining #%d", Pref(fp), Fsm(fp), fp->echoid)); |
Log(LG_FSM, ("[%s] %u seconds remain", Pref(fp), seconds)); | Log(fp->log2, ("[%s] %u seconds remain", Pref(fp), seconds)); |
FsmOutputMbuf(fp, CODE_TIMEREM, fp->echoid++, bp); |
FsmOutputMbuf(fp, CODE_TIMEREM, fp->echoid++, bp); |
} |
} |
|
|