aboutsummaryrefslogtreecommitdiff
path: root/rtr-origin
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2011-04-09 02:30:23 +0000
committerRob Austein <sra@hactrn.net>2011-04-09 02:30:23 +0000
commitbe37216c3fc06b6f06933caa6b62b0a83c759a4d (patch)
treeb180362cd84f8ece7f87b5da2653968cc85a0d81 /rtr-origin
parentecf3fef1d589f2f63a6a500172763d753188ec6d (diff)
.dump_ixfr() was testing wrong array elements, yielding flaky results
svn path=/rtr-origin/rtr-origin.py; revision=3767
Diffstat (limited to 'rtr-origin')
-rwxr-xr-xrtr-origin/rtr-origin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtr-origin/rtr-origin.py b/rtr-origin/rtr-origin.py
index 259221f0..5a158c40 100755
--- a/rtr-origin/rtr-origin.py
+++ b/rtr-origin/rtr-origin.py
@@ -785,7 +785,7 @@ class axfr_set(prefix_set):
if old[i_old] < new[i_new]:
f.write(old[i_old].to_pdu(announce = 0))
i_old += 1
- elif old[0] > new[0]:
+ elif old[i_old] > new[i_new]:
f.write(new[i_new].to_pdu(announce = 1))
i_new += 1
else: