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

Added devicetype to parser #15

Closed
wants to merge 1 commit into from

Conversation

prof-ninjason
Copy link
Contributor

This would help identify device types such as printers.

$service_hashref->{name} = $service->{att}->{name} || 'unknown';
$service_hashref->{version} = $service->{att}->{version};
$service_hashref->{product} = $service->{att}->{product};
$service_hashref->{devicetype} = $service->{att}->{devicetype};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this is the only line that changed. Can you make a new pull-request with only the addition of that line? Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sorry. I was cleaning up the code for myself.

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.

2 participants