1
0
Fork 0
forked from mirror/openwrt
openwrt/package
Karl Palsson c58e824acc procd: mdns: Support txt values with spaces
Properly quote the arguments so that you can register a service with TXT
entries that contains spaces.

Example:
   procd_add_mdns myservice tcp 9999 "key=descriptive text field 1" \
         "another=something equally verbose"

Output before:
$ avahi-browse -r -v _myservice._tcp
_myservice._tcp      local
   hostname = [blah.local]
   address = [192.168.255.74]
   port = [9999]
   txt = ["verbose" "equally" "another=something" "1" "field" "text" "key=descriptive"]

Output now:
$ avahi-browse -r -v _myservice._tcp
_myservice._tcp      local
   hostname = [blah.local]
   address = [192.168.255.74]
   port = [9999]
   txt = ["another=something equally verbose" "key=descriptive text field 1"]

Signed-off-by: Karl Palsson <karlp@etactica.com>
(cherry picked from commit 7a423c389a)
2017-12-13 16:29:22 +01:00
..
base-files base-files: drop unused preinit_echo function 2017-12-13 16:23:39 +01:00
boot package/grub2: update to 2.02 2017-12-13 15:54:12 +01:00
devel valgrind: bump to 3.13.0 2017-12-13 16:23:38 +01:00
firmware ath10k-firmware: do not select the qca988x by default 2017-05-27 14:22:16 +02:00
kernel kmod-sched-cake: drop maintainer 2017-12-13 16:23:39 +01:00
libs zlib: use default Build/Configure rule 2017-12-13 16:23:39 +01:00
network samba36: Remove syslog and load printers lines. 2017-12-13 16:29:22 +01:00
system procd: mdns: Support txt values with spaces 2017-12-13 16:29:22 +01:00
utils nvram: add help message for nvram magic not found 2017-12-13 16:23:40 +01:00
Makefile build: fix triggering opkg/host compilation 2017-04-09 15:42:20 +02:00