X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-sharp%2FEntryGroup.cs;h=d69e8a635925d0dddffb531da88c35ac5aecce86;hb=ddfdfa8dd9dee6a2ff3046717b2fc120a5dfd34d;hp=aa97dbda2adac0b21e5df4ee6a596ca3c75017b3;hpb=4d283fbd912fbeab578447ea18c0d8f47aa5cea6;p=catta diff --git a/avahi-sharp/EntryGroup.cs b/avahi-sharp/EntryGroup.cs index aa97dbd..d69e8a6 100644 --- a/avahi-sharp/EntryGroup.cs +++ b/avahi-sharp/EntryGroup.cs @@ -118,13 +118,13 @@ namespace Avahi } public void AddService (string name, string type, string domain, - UInt16 port, string[] txt) + UInt16 port, params string[] txt) { AddService (-1, Protocol.Unspecified, name, type, domain, null, port, txt); } public void AddService (int iface, Protocol proto, string name, string type, string domain, - string host, UInt16 port, string[] txt) + string host, UInt16 port, params string[] txt) { IntPtr list = avahi_string_list_new (IntPtr.Zero);