Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display more srv attributes in output of ubus browse function #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mhusaam
Copy link

@mhusaam mhusaam commented Jan 14, 2024

In the output of ubus call umdns browse, the following srv params
have been exposed with this commit:

  • domain,
  • ttl,
  • last_update,
  • priority
  • weight

The new output looks as follows:

"_http._tcp": {
"Apache service": {
"iface": "br-lan",
"host": "user831.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",
"ipv6": "fdc5:c8b6:f412::1f0",
"ipv6": "fdc5:c8b6:f412:0:a800:aaff:fe53:101",
"ipv6": "9999:1234:830:0:a800:aaff:fe53:101"
}
}

Signed-off-by: Mohd Husaam [email protected]

@mhusaam mhusaam changed the title Display more srv attributes in output of ubus browse function. display more srv attributes in output of ubus browse function Jan 22, 2024
In the output of ubus call umdns browse, the following srv params
have been exposed with this commit:

* domain,
* ttl,
* last_update,
* priority
* weight

The new output looks as follows:

"_http._tcp": {
	"Apache service": {
		"iface": "br-lan",
		"host": "user831.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",
		"ipv6":	"fdc5:c8b6:f412::1f0",
		"ipv6":	"fdc5:c8b6:f412:0:a800:aaff:fe53:101",
		"ipv6":	"9999:1234:830:0:a800:aaff:fe53:101"
	}
}

Signed-off-by: Mohd Husaam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant