memset(&ep, '\0', sizeof(ep));
ep.key = (unsigned char *) crypt_key;
+ ep.longstate = longstate;
err = decrypt_buf(&ep, buf, src_len);
- if (err)
+ if (err) {
+ ERR("unable to decrypt '%s'", ifname);
goto out;
+ }
printf("Magic\t\t: '%s'\n", ep.magic);
printf("Seed\t\t: 0x%02x\n", ep.seed);
while ( 1 ) {
int c;
- c = getopt(argc, argv, "adi:m:o:hp:v:k:r:s:");
+ c = getopt(argc, argv, "adi:m:o:hlp:v:k:r:s:");
if (c == -1)
break;