]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix a misleading comment
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 12 Aug 2022 09:58:20 +0000 (10:58 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 12 Aug 2022 09:58:20 +0000 (10:58 +0100)
shairport.c

index 5eec4de51caab1f2f65f87df8a41e19d4c188aa4..40c821f281d058ed76ccf865f78a30543c1dbab2 100644 (file)
@@ -560,7 +560,7 @@ int parse_options(int argc, char **argv) {
   // Set to NULL to work with transient pairing
   config.airplay_pin = NULL;
 
-  // use the start of the config.hw_addr and the PID to generate the default airplay_device_id
+  // use the MAC address placed in config.hw_addr to generate the default airplay_device_id
   uint64_t temporary_airplay_id = nctoh64(config.hw_addr);
   temporary_airplay_id =
       temporary_airplay_id >> 16; // we only use the first 6 bytes but have imported 8.