X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-utils%2Favahi-resolve-address.in;h=a645bbd0352c541e3b329832cc9c09670f7e9b6c;hb=9ca377e8bc8ef73714180143c24223016acbc845;hp=71c628765b3a7454b1fd651f9d77ed43229b842f;hpb=1efec3a2cb5e4d14f051939ce7ab16de996ddaff;p=catta diff --git a/avahi-utils/avahi-resolve-address.in b/avahi-utils/avahi-resolve-address.in index 71c6287..a645bbd 100755 --- a/avahi-utils/avahi-resolve-address.in +++ b/avahi-utils/avahi-resolve-address.in @@ -44,7 +44,7 @@ ret = 0 for a in sys.argv[1:]: try: - r = server.ResolveAddress(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, a) + r = server.ResolveAddress(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, a, 0) print r[3], r[4] except dbus.DBusException, e: print "Resolving '%s' failed: %s" % (a, str(e))