projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abc5ceb
)
hpsdrsim: clear HL2 field at beginning
author
c vw
<dl1ycf@darc.de>
Fri, 4 Dec 2020 13:45:19 +0000
(14:45 +0100)
committer
c vw
<dl1ycf@darc.de>
Fri, 4 Dec 2020 13:45:19 +0000
(14:45 +0100)
hpsdrsim.c
patch
|
blob
|
history
diff --git
a/hpsdrsim.c
b/hpsdrsim.c
index 77377d28609e595ade4dda4398afe40e9db1f68f..d5735a78dc85038cf28506657d6e4f4eef26e9b6 100644
(file)
--- a/
hpsdrsim.c
+++ b/
hpsdrsim.c
@@
-212,7
+212,7
@@
int main(int argc, char *argv[])
struct sockaddr_in addr_from;
unsigned int seed;
- mem
zero(hl2addr
, sizeof(hl2addr));
+ mem
set(hl2addr, 0
, sizeof(hl2addr));
uint32_t last_seqnum = 0xffffffff, seqnum; // sequence number of received packet
int udp_retries=0;