]> git.ipfire.org Git - thirdparty/bind9.git/commit
Tweak the _get_cookie() method
authorMichał Kępień <michal@isc.org>
Thu, 21 May 2026 09:52:56 +0000 (11:52 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 21 May 2026 10:09:28 +0000 (12:09 +0200)
commit5f1645a0810fd71f472b74a980ba49386ebceb57
tree0cf3d546f9a4a0ef9428e05ee6df30d72f723406
parentfb4fc513c96a88f0e9e102c2124d2a1f820a09c2
Tweak the _get_cookie() method

The "len(cookie.server) == 0" condition is superfluous for the
"resend_loop" system test, so remove it.  Add a return type annotation
to the _get_cookie() function.

(cherry picked from commit 5fa2bd7e53e1d6ee6ebcc04b0bf5f303d3e85570)
bin/tests/system/resend_loop/ans3/ans.py