Browse Source

pull/4/head
helloworld0xf 7 years ago
parent
commit
353f25cd78
  1. 2
      n2n.c

2
n2n.c

@ -386,7 +386,7 @@ static uint8_t hex2byte( const char * s )
tmp[1]=s[1];
tmp[2]=0; /* NULL term */
return((uint8_t)strtol( s, NULL, 16 ));
return((uint8_t)strtol( tmp, NULL, 16 ));
}
extern int str2mac( uint8_t * outmac /* 6 bytes */, const char * s )

Loading…
Cancel
Save