forked from analogdevicesinc/libiio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix analogdevicesinc#307 by accepting avahi null names, and install a…
…vahi service file This will make sure things like this are functional: ./tests/iio_attr -u ip: -d IIO context has 5 devices: iio:device0: adm1177, found 0 device attributes iio:device1: ad9361-phy, found 18 device attributes iio:device2: xadc, found 1 device attributes iio:device3: cf-ad9361-dds-core-lpc, found 0 device attributes iio:device4: cf-ad9361-lpc, found 0 device attributes Signed-off-by: Robin Getz <[email protected]>
- Loading branch information
Showing
3 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" standalone='no'?><!--*-nxml-*--> | ||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | ||
|
||
<!-- | ||
This file is part of avahi. | ||
|
||
avahi is free software; you can redistribute it and/or modify it | ||
under the terms of the GNU Lesser General Public License as | ||
published by the Free Software Foundation; either version 2 of the | ||
License, or (at your option) any later version. | ||
|
||
avahi is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
General Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public | ||
License along with avahi; if not, write to the Free Software | ||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | ||
02111-1307 USA. | ||
--> | ||
|
||
<!-- See avahi.service(5) for more information about this configuration file --> | ||
|
||
<service-group> | ||
|
||
<name replace-wildcards="yes">%h</name> | ||
|
||
<service> | ||
<type>_iio._tcp</type> | ||
<port>30431</port> | ||
</service> | ||
|
||
</service-group> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters