diff options
author | Rob Austein <sra@hactrn.net> | 2009-07-04 20:13:22 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-07-04 20:13:22 +0000 |
commit | 6462e03109be39a7e6e82ba5c49874d4652b5810 (patch) | |
tree | a1154f496b34145a4ac0797505f6619727af3fb2 /rpkid/irbe-setup.py | |
parent | 6baa092a44b6ae9d1ffddc8fc6928c9bbb368124 (diff) |
Clean up and consolidate traceback. Add methods to hide (some of the)
mucking about with msg.type variables. Include query PDU tags in
reply <report_error/> PDUs.
svn path=/rpkid/irbe-setup.py; revision=2571
Diffstat (limited to 'rpkid/irbe-setup.py')
-rw-r--r-- | rpkid/irbe-setup.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rpkid/irbe-setup.py b/rpkid/irbe-setup.py index 765cdd42..a7e8c441 100644 --- a/rpkid/irbe-setup.py +++ b/rpkid/irbe-setup.py @@ -51,8 +51,7 @@ def call_rpkid(pdu): exception if anything bad happens, no fancy error handling. """ - msg = rpki.left_right.msg((pdu,)) - msg.type = "query" + msg = rpki.left_right.msg.query((pdu,)) cms = rpki.left_right.cms_msg.wrap(msg, irbe_key, irbe_cert) der = rpki.https.client(client_key = irbe_key, client_cert = irbe_cert, |