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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user