From ec2f2e77afbf20897c196215badff96184c48a76 Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Mon, 15 Jul 2024 19:55:57 +0100 Subject: [PATCH] fix decoding for open --- src/exabgp/application/decode.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/exabgp/application/decode.py b/src/exabgp/application/decode.py index 4f7265597..75cc55de6 100644 --- a/src/exabgp/application/decode.py +++ b/src/exabgp/application/decode.py @@ -41,7 +41,8 @@ def is_bgp(message): def setargs(sub): # fmt:off sub.add_argument('-n', '--nlri', help='the data is only the NLRI', action='store_true') - sub.add_argument('-u', '--update', help='the data is update', action='store_true') + sub.add_argument('-u', '--update', help='the data is an update message (does nothing)', action='store_true') + sub.add_argument('-o', '--open', help='the data is an open message (does nothing)', action='store_true') sub.add_argument('-d', '--debug', help='start the python debugger errors', action='store_true') sub.add_argument('-p', '--pdb', help='fire the debugger on fault', action='store_true') sub.add_argument('-c', '--configuration', help='configuration file(s)', type=str)