-/* $OpenBSD: parser.c,v 1.119 2023/01/24 14:14:15 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.120 2023/01/30 16:53:24 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
} else if (strcmp(s, "neighbor-as") == 0) {
*flag = COMMUNITY_NEIGHBOR_AS;
*v = 0;
- return EXT_COMMUNITY_TRANS_FOUR_AS;
+ return EXT_COMMUNITY_TRANS_TWO_AS;
} else if (strcmp(s, "local-as") == 0) {
*flag = COMMUNITY_LOCAL_AS;
*v = 0;
- return EXT_COMMUNITY_TRANS_FOUR_AS;
+ return EXT_COMMUNITY_TRANS_TWO_AS;
} else if ((p = strchr(s, '.')) == NULL) {
/* AS_PLAIN number (4 or 2 byte) */
strtonum(s, 0, USHRT_MAX, &errstr);