chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow admin clients to filter out async messages. Send notifications
[tripe]
/
keyset.c
diff --git
a/keyset.c
b/keyset.c
index 8893e6066ed7d89cb791605a8413e85464f94e3e..cdd0c99990a1106b700e2ba25814d9db169b51e5 100644
(file)
--- a/
keyset.c
+++ b/
keyset.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id
: keyset.c,v 1.11 2004/04/18 18:08:11 mdw Exp
$
+ * $Id$
*
* Handling of symmetric keysets
*
*
* Handling of symmetric keysets
*
@@
-269,7
+269,7
@@
static int dosequence(keyset *ks, uint32 seq)
uint32 n;
if (seq < ks->iseq) {
uint32 n;
if (seq < ks->iseq) {
- a_warn("
received packet has old sequence number (possible replay)
");
+ a_warn("
SYMM replay old-sequence
");
return (-1);
}
if (seq >= ks->iseq + KS_SEQWINSZ) {
return (-1);
}
if (seq >= ks->iseq + KS_SEQWINSZ) {
@@
-282,7
+282,7
@@
static int dosequence(keyset *ks, uint32 seq)
}
seqbit = 1 << (seq - ks->iseq);
if (ks->iwin & seqbit) {
}
seqbit = 1 << (seq - ks->iseq);
if (ks->iwin & seqbit) {
- a_warn("
received packet repeats old sequence number
");
+ a_warn("
SYMM replay duplicated-sequence
");
return (-1);
}
ks->iwin |= seqbit;
return (-1);
}
ks->iwin |= seqbit;