1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-18 07:13:36 +02:00

announce as-4byte uses a hyphen in the name. Fix printconf to output the

statement correctly.
This commit is contained in:
claudio
2026-06-08 12:26:45 +00:00
parent 38a3416f6c
commit 1b70bf5379
+3 -3
View File
@@ -1,4 +1,4 @@
/* $OpenBSD: printconf.c,v 1.187 2026/06/02 08:40:02 claudio Exp $ */
/* $OpenBSD: printconf.c,v 1.188 2026/06/08 12:26:45 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -954,9 +954,9 @@ print_announce(struct peer_config *p, const char *c)
printf("%s\tannounce graceful notification yes\n", c);
if (p->capabilities.as4byte == 1)
printf("%s\tannounce as4byte yes\n", c);
printf("%s\tannounce as-4byte yes\n", c);
else if (p->capabilities.as4byte == 0)
printf("%s\tannounce as4byte no\n", c);
printf("%s\tannounce as-4byte no\n", c);
if (p->capabilities.ext_msg == 2)
printf("%s\tannounce extended message enforce\n", c);