-/* $OpenBSD: bgpctl.c,v 1.211 2018/08/29 19:52:23 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.212 2018/09/05 09:50:43 claudio Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
case IRRFILTER:
if (!(res->flags & (F_IPV4|F_IPV6)))
res->flags |= (F_IPV4|F_IPV6);
- irr_main(res->as.as, res->flags, res->irr_outdir);
+ irr_main(res->as.as_min, res->flags, res->irr_outdir);
break;
case SHOW_MRT:
if (pledge("stdio", NULL) == -1)
/* filter by AS */
if (req->as.type != AS_NONE &&
!aspath_match(mre->aspath, mre->aspath_len,
- &req->as, req->as.as))
+ &req->as, 0))
continue;
if (req->flags & F_CTL_DETAIL) {
/* filter by AS */
if (req->as.type != AS_NONE &&
!aspath_match(mre->aspath, mre->aspath_len,
- &req->as, req->as.as))
+ &req->as, 0))
continue;
bzero(&net, sizeof(net));
-/* $OpenBSD: parser.c,v 1.83 2018/08/29 19:52:23 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.84 2018/09/05 09:50:43 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
}
break;
case ASNUM:
- if (parse_asnum(word, wordlen, &res.as.as)) {
+ if (parse_asnum(word, wordlen, &res.as.as_min)) {
match++;
t = &table[i];
}