From 2009e248fa15081a338a52cdd17e6e3482c5acbd Mon Sep 17 00:00:00 2001 From: c vw Date: Wed, 8 Jul 2020 15:25:20 +0200 Subject: [PATCH] Different MAC addresses for P1 and P2. --- hpsdrsim.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hpsdrsim.c b/hpsdrsim.c index ccd8417..0029ebe 100644 --- a/hpsdrsim.c +++ b/hpsdrsim.c @@ -758,8 +758,8 @@ int main(int argc, char *argv[]) buffer[ 6]=0xBB; buffer[ 7]=0xCC; buffer[ 8]=0xDD; - buffer[ 9]=0xEE; - buffer[10]=0xFF; + buffer[ 9]=0xEF; + buffer[10]=0xFE; buffer[11]=NEWDEVICE; buffer[12]=38; buffer[13]=19; @@ -785,8 +785,8 @@ int main(int argc, char *argv[]) buffer[ 6]=0xBB; buffer[ 7]=0xCC; buffer[ 8]=0xDD; - buffer[ 9]=0xEE; - buffer[10]=0xFF; + buffer[ 9]=0xEF; + buffer[10]=0xFE; buffer[11]=NEWDEVICE; buffer[12]=38; buffer[13]=103; @@ -815,8 +815,8 @@ int main(int argc, char *argv[]) buffer[ 6]=0xBB; buffer[ 7]=0xCC; buffer[ 8]=0xDD; - buffer[ 9]=0xEE; - buffer[10]=0xFF; + buffer[ 9]=0xEF; + buffer[10]=0xFE; buffer[11]=103; buffer[12]=NEWDEVICE; buffer[13]=(checksum >> 8) & 0xFF; @@ -838,16 +838,16 @@ int main(int argc, char *argv[]) if (buffer[ 6] != 0xBB) break; if (buffer[ 7] != 0xCC) break; if (buffer[ 8] != 0xDD) break; - if (buffer[ 9] != 0xEE) break; - if (buffer[10] != 0xFF) break; + if (buffer[ 9] != 0xEF) break; + if (buffer[10] != 0xFE) break; memset(buffer, 0, 60); buffer [4]=0x02+active_thread; buffer [5]=0xAA; buffer[ 6]=0xBB; buffer[ 7]=0xCC; buffer[ 8]=0xDD; - buffer[ 9]=0xEE; - buffer[10]=0xFF; + buffer[ 9]=0xEF; + buffer[10]=0xFE; buffer[11]=NEWDEVICE; buffer[12]=38; buffer[13]=103; -- 2.45.2