summaryrefslogtreecommitdiff
path: root/bgpd/bgp_aspath.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_aspath.c')
-rw-r--r--bgpd/bgp_aspath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c
index a1e4608f..d0d621c2 100644
--- a/bgpd/bgp_aspath.c
+++ b/bgpd/bgp_aspath.c
@@ -1642,7 +1642,7 @@ aspath_gettoken (const char *buf, enum as_token *token, u_long *asno)
/* Check actual AS value. */
if (isdigit ((int) *p))
{
- u_short asval;
+ as_t asval;
*token = as_token_asval;
asval = (*p - '0');