summaryrefslogtreecommitdiffstats
path: root/avahi-sharp
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@debian.org>2008-03-20 23:07:37 +0000
committerSjoerd Simons <sjoerd@debian.org>2008-03-20 23:07:37 +0000
commitb399626a5a741b21389bb46f6bbe8d0e35bd44fa (patch)
tree9d921f48c3c4d8976047ca6620ad9d825d76a855 /avahi-sharp
parent9a048b843719ad831c17b030ac522bc1e57122f8 (diff)
ServiceResolver.cs: Set the ScopeId field of ServiceInfo.Address to the
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
Diffstat (limited to 'avahi-sharp')
-rw-r--r--avahi-sharp/ServiceResolver.cs1
1 files changed, 1 insertions, 0 deletions
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 ();