packages/net/dcwifi/dcstad/patches/01_replace_bzero.patch
Carey Sonsino 9129b75fff dcwifi: Add Dual Channel Wi-Fi component packages
dcstad: Dual Channel Wi-Fi Station Daemon
dcwapd: Dual Channel Wi-Fi Access Point Daemon
libdcwproto: Dual Channel Wi-Fi Protocol Library
libdcwsocket: Dual Channel Wi-Fi Socket Library
macremapper: MAC Address Remapper Linux Kernel Module
mrmctl: Userland tool to get/set remap rules

Signed-off-by: Carey Sonsino <careys@edgewaterwireless.com>
Signed-off-by: Carey Sonsino <csonsino@gmail.com>

Much help from @neheb
2019-10-02 13:34:11 +00:00

11 lines
352 B
Diff

--- a/src/main.c
+++ b/src/main.c
@@ -190,7 +190,7 @@ main( int argc, char *argv[] ) {
rv = 1; /* failure unless proven otherwise */
/* first initialize and parse the command line */
- bzero(&cfg, sizeof(cfg));
+ memset(&cfg, 0, sizeof(cfg));
parse_cmdline(&cfg, argc, argv);
dcwloginfof("%s\n", "DCW Station Daemon Starting Up...");