diff --git a/bgpq4.8 b/bgpq4.8 index b7b2aa7..3339c56 100644 --- a/bgpq4.8 +++ b/bgpq4.8 @@ -37,6 +37,7 @@ .Fl f Ar asn | .Fl F Ar fmt | .Fl G Ar asn +.Fl H Ar asn .Fl t .Oc .Op Fl 46ABbDdJjNnsXU @@ -83,6 +84,10 @@ generate input as-path access-list. generate output in user-defined format. .It Fl G Ar number generate output as-path access-list. +.It Fl H Ar number +generate output as-list for +.Em as-path-origin +filter (JunOS 21.3R1+) .It Fl h Ar host[:port] host running IRRD database (default: rr.ntt.net). .It Fl J diff --git a/main.c b/main.c index 9414478..d7b9aa5 100644 --- a/main.c +++ b/main.c @@ -748,7 +748,7 @@ main(int argc, char* argv[]) switch (expander.generation) { case T_NONE: - sx_report(SX_FATAL,"Unreachable point... call snar\n"); + sx_report(SX_FATAL,"Unreachable point"); exit(1); case T_ASPATH: bgpq4_print_aspath(stdout, &expander);