From b399626a5a741b21389bb46f6bbe8d0e35bd44fa Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Thu, 20 Mar 2008 23:07:37 +0000 Subject: ServiceResolver.cs: Set the ScopeId field of ServiceInfo.Address to the interface index. Patch by Sebastian Droge git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1753 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-sharp/ServiceResolver.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'avahi-sharp') diff --git a/avahi-sharp/ServiceResolver.cs b/avahi-sharp/ServiceResolver.cs index 945372b..a11721a 100644 --- a/avahi-sharp/ServiceResolver.cs +++ b/avahi-sharp/ServiceResolver.cs @@ -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 (); -- cgit