]> git.meshlink.io Git - catta/commitdiff
make AVAHI_PROTO_xxx well defined constants: python support
authorLennart Poettering <lennart@poettering.net>
Fri, 16 Sep 2005 01:20:08 +0000 (01:20 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Sep 2005 01:20:08 +0000 (01:20 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@596 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-utils/avahi/__init__.py

index f2436437c760dc645cbfa2e3856fb09389f34c32..6a3a1cfca66d48f5a0341e5e54ffe3824866a9ab 100644 (file)
@@ -26,7 +26,7 @@ ENTRY_GROUP_UNCOMMITED, ENTRY_GROUP_REGISTERING, ENTRY_GROUP_ESTABLISHED, ENTRY_
 
 DOMAIN_BROWSER_REGISTER, DOMAIN_BROWSER_REGISTER_DEFAULT, DOMAIN_BROWSER_BROWSE, DOMAIN_BROWSER_BROWSE_DEFAULT, DOMAIN_BROWSER_BROWSE_LEGACY = range(0, 5)
 
-PROTO_INET, PROTO_INET6, PROTO_UNSPEC = socket.AF_INET, socket.AF_INET6, socket.AF_UNSPEC
+PROTO_UNSPEC, PROTO_INET, PROTO_INET6  = -1, 0, 1
 
 IF_UNSPEC = -1