diff options
Diffstat (limited to 'usr.sbin/bgpctl/output.c')
-rw-r--r-- | usr.sbin/bgpctl/output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpctl/output.c b/usr.sbin/bgpctl/output.c index 2d49cb3b2e2..f986fd3dc78 100644 --- a/usr.sbin/bgpctl/output.c +++ b/usr.sbin/bgpctl/output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output.c,v 1.11 2020/12/30 07:31:19 claudio Exp $ */ +/* $OpenBSD: output.c,v 1.12 2021/01/25 09:17:33 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -647,8 +647,8 @@ show_attr(u_char *data, size_t len, struct parse_result *res) case ATTR_ASPATH: case ATTR_AS4_PATH: /* prefer 4-byte AS here */ - e4 = aspath_verify(data, alen, 1); - e2 = aspath_verify(data, alen, 0); + e4 = aspath_verify(data, alen, 1, 0); + e2 = aspath_verify(data, alen, 0, 0); if (e4 == 0 || e4 == AS_ERR_SOFT) { path = data; } else if (e2 == 0 || e2 == AS_ERR_SOFT) { |