chiark / gitweb /
site: Always advertise all capabilities
[secnet.git] / site.c
diff --git a/site.c b/site.c
index b6bae763bbe4f35807265d268fe69b2ad70c9619..df083f40948f1643863a49617b31257a64293a59 100644 (file)
--- a/site.c
+++ b/site.c
@@ -663,10 +663,7 @@ static bool_t generate_msg(struct site *st, uint32_t type, cstring_t what,
 
     struct xinfoadd xia;
     append_string_xinfo_start(&st->buffer,&xia,st->localname);
-    if ((st->local_capabilities & st->early_capabilities) ||
-       (type != LABEL_MSG1)) {
-       buf_append_uint32(&st->buffer,st->local_capabilities);
-    }
+    buf_append_uint32(&st->buffer,st->local_capabilities);
     if (type_is_msg34(type)) {
        buf_append_uint16(&st->buffer,st->mtu_target);
     }