dsa-check-dnssec-delegation: Net::DNS::RR::DNSKEY no longer has an is_sep() method...
[mirror/dsa-nagios.git] / dsa-nagios-checks / checks / dsa-check-dnssec-delegation
index e614bf2..65b48b0 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# Copyright (c) 2010, 2014, 2015 Peter Palfrader <peter@palfrader.org>
+# Copyright (c) 2010, 2014, 2015, 2017 Peter Palfrader <peter@palfrader.org>
 #
 # Permission is hereby granted, free of charge, to any person obtaining
 # a copy of this software and associated documentation files (the
@@ -77,7 +77,7 @@ sub get_tag_generic {
                }
 
                # for now only handle KSKs, i.e. keys with the SEP flag set
-               if ($type eq 'DNSKEY' && !($rr->is_sep)) {
+               if ($type eq 'DNSKEY' && !($rr->sep)) {
                        push @zsks, $tag;
                        next;
                }