summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bgpctl/bgpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index f8837c7a188..8242c0d95d2 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.241 2019/06/25 07:44:20 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.242 2019/07/03 06:15:48 claudio Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -1446,7 +1446,7 @@ show_attr(void *b, u_int16_t len, int flag0)
data += 4;
len -= 4;
} else {
- alen = (u_char)data[2];
+ alen = data[2];
data += 3;
len -= 3;
}