chiark / gitweb /
site: Record whynot in default (end of comm_notify) case
[secnet.git] / site.c
diff --git a/site.c b/site.c
index add60398aa2195bdf7b27eee1d9e84d2e75a8db3..8ca87690baf350f7c3fee99ddd595db34bb4ade8 100644 (file)
--- a/site.c
+++ b/site.c
@@ -2084,6 +2084,9 @@ static bool_t site_incoming(void *sst, struct buffer_if *buf,
        return True;
     }
 
+    if (priomsg_update_p(whynot, comm_notify_whynot_general))
+       truncmsg_add_string(&whynot->m,
+                           "not MSG1 or PROD; unknown dest index");
     return False;
 }