Skip to content

umdns: display more params in ubus output

Mohd Mehdi requested to merge for_moving_umdns_from_packages into devel
  • Move package from <TOP_DIR>/packages to openwrt-core.
  • Add patch: to display more srv data, and make use of json array

Parameters added in this patch are:

  • domain,

  • ttl,

  • last_update,

  • priority

  • weight

    The new output looks as follows:

"_http._tcp": { "Apache service": { "iface": "br-lan", "txt": [ "type=server", "user=john" ], "host": "Dwan831.local", "domain": "local", "port": 80, "ttl": 120, "last_update": "2024-01-16T02:41:02Z", "priority": 0, "weight": 0, "ipv4": [ "192.168.1.245" ], "ipv6": [ "9999:1234:830::1f0", "fdc5:c8b6:f412::1f0", "fdc5:c8b6:f412:0:a800:aaff:fe53:101", "9999:1234:830:0:a800:aaff:fe53:101" ] } }

Edited by Mohd Mehdi

Merge request reports