Skip to content

Commit

Permalink
minor fix in validator output
Browse files Browse the repository at this point in the history
  • Loading branch information
smlng committed Sep 3, 2015
1 parent 0bba8ba commit 8fb2788
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
*.gz
*.pyc
*.log
2 changes: 1 addition & 1 deletion src/validator.py
Expand Up @@ -108,7 +108,7 @@ def _get_validity(validation_result_string):
rasn, rprefix, rmin_len, rmax_len = r.split()
vrp = dict()
vrp['asn'] = "AS"+rasn
vrp['prefix'] = rprefix+"/"+rmax_len
vrp['prefix'] = rprefix+"/"+rmin_len
vrp['max_length'] = rmax_len
match = True
if vasn != rasn:
Expand Down

0 comments on commit 8fb2788

Please sign in to comment.