From d6b1c0a82d0817f8ad401ca70faa05957b6fb614 Mon Sep 17 00:00:00 2001 From: abrasive Date: Thu, 6 Oct 2011 12:38:46 +1100 Subject: [PATCH] Remove random hardware ID. This means you can't run multiple shairports under the same name, barring a portable way to get the real interface ID. --- shairport.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shairport.pl b/shairport.pl index 44041e4c..45caabba 100755 --- a/shairport.pl +++ b/shairport.pl @@ -210,7 +210,7 @@ if (defined($squeeze) && $squeeze) { }; chomp $apname; -my @hw_addr = (0, map { int rand 256 } 1..5); +my @hw_addr = (0..5); sub POPE { print "Broken pipe\n" if $verbose;