]> git.meshlink.io Git - catta/commitdiff
ServiceResolver.cs: Set the ScopeId field of ServiceInfo.Address to the
authorSjoerd Simons <sjoerd@debian.org>
Thu, 20 Mar 2008 23:07:37 +0000 (23:07 +0000)
committerSjoerd Simons <sjoerd@debian.org>
Thu, 20 Mar 2008 23:07:37 +0000 (23:07 +0000)
interface index. Patch by Sebastian Droge <slomo@circular-chaos.org>

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1753 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-sharp/ServiceResolver.cs

index 945372beb0bee363d54b486230cfaad0e2a36d03..a11721ac595aafd899201abcd7833d1b7ba33d28 100644 (file)
@@ -182,6 +182,7 @@ namespace Avahi
             info.Name = Utility.PtrToString (name);
             info.HostName = Utility.PtrToString (host);
             info.Address = Utility.PtrToAddress (address);
+            info.Address.ScopeId = iface;
             info.Port = port;
 
             ArrayList txtlist = new ArrayList ();