From c4611a3fbefdbc974b384ca71133e2e6fbc98240 Mon Sep 17 00:00:00 2001
From: xengineering <me@xengineering.eu>
Date: Sun, 29 Sep 2024 10:53:57 +0200
Subject: doc: Fix soundbox script for IPv6

It used to listen on IPv4 requests only.
---
 doc/documentation.tex | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'doc/documentation.tex')

diff --git a/doc/documentation.tex b/doc/documentation.tex
index b605e58..bd02e9c 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -355,7 +355,7 @@ set -e
 
 while true
 do
-    ffplay -autoexit tcp://0.0.0.0:5316?listen
+    ffplay -autoexit tcp://[<ip>%wlan0]:5316?listen
 done' > /usr/local/bin/soundbox
 
 chmod 755 /usr/local/bin/soundbox
@@ -363,6 +363,10 @@ chmod 755 /usr/local/bin/soundbox
 lbu add /usr/local/bin/soundbox
 \end{verbatim}
 
+\texttt{<ip>} has to be replaced by the IPv6 link-local address of the
+\texttt{wlan0} interface. It can be retrieved by calling \texttt{ip addr show}
+and starts with \texttt{fe80::}.
+
 This makes the command \texttt{soundbox} available on the system.
 
 \subsection{Service configuration}
-- 
cgit v1.2.3-70-g09d2

