]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
pyldns fixes
authorWillem Toorop <willem@NLnetLabs.nl>
Tue, 30 Oct 2012 22:18:53 +0000 (22:18 +0000)
committerWillem Toorop <willem@NLnetLabs.nl>
Tue, 30 Oct 2012 22:18:53 +0000 (22:18 +0000)
Makefile.in
contrib/python/ldns_packet.i

index e1edf843807b0a598c8df0317e2b43958091561c..58e1b18cd70cc6c1751d642b14c5029caf0f3e05 100644 (file)
@@ -212,7 +212,7 @@ lib: libldns.la
 lib-export-all: libldns.la-export-all
 
 libldns.la: $(LDNS_ALL_LOBJS)
-       $(LINK_LIB) $(LIBSSL_LDFLAGS) $(LIBSSL_LIBS) -export-symbols-regex '^(ldns_|b32_[bn]to[bn]|mktime_from_utc|qsort_rr_compare_nsec3)' -o libldns.la $(LDNS_ALL_LOBJS) -rpath $(libdir) $(RUNTIME_PATH)
+       $(LINK_LIB) $(LIBSSL_LDFLAGS) $(LIBSSL_LIBS) -export-symbols-regex '^(ldns_|b32_[pn]to[pn]|mktime_from_utc|qsort_rr_compare_nsec3)' -o libldns.la $(LDNS_ALL_LOBJS) -rpath $(libdir) $(RUNTIME_PATH)
 
 libldns.la-export-all: $(LDNS_ALL_LOBJS)
        $(LINK_LIB) -o libldns.la $(LDNS_ALL_LOBJS) -rpath $(libdir) $(RUNTIME_PATH)
index a1ad6b7c8214fcb2a37474b04160c7d14cc743ca..9316479f13b3a0393a79a6f8e25e8c4f044d26eb 100644 (file)
@@ -217,7 +217,7 @@ This simple example instances a resolver in order to resolve NS for nic.cz.
 
         def opcode2str(self):
             """Converts a packet opcode to its mnemonic and returns that as an allocated null-terminated string."""
-            return _ldns.ldns_pkt_opcode2str(sefl.get_opcode())
+            return _ldns.ldns_pkt_opcode2str(self.get_opcode())
 
         def rcode2str(self):
             """Converts a packet rcode to its mnemonic and returns that as an allocated null-terminated string."""