diff --git a/src/Cedar/BridgeUnix.h b/src/Cedar/BridgeUnix.h index 7f9b0890..4ba495d1 100644 --- a/src/Cedar/BridgeUnix.h +++ b/src/Cedar/BridgeUnix.h @@ -186,6 +186,7 @@ struct CAPTUREBLOCK{ // Function prototype +void FreeTap(VLAN *v); void InitEth(); void FreeEth(); bool IsEthSupported(); diff --git a/src/Cedar/Console.c b/src/Cedar/Console.c index ba2ec285..21c5e2a5 100644 --- a/src/Cedar/Console.c +++ b/src/Cedar/Console.c @@ -2048,7 +2048,13 @@ bool PasswordPrompt(char *password, UINT size) else if (c == 0xE0) { // Read one more character + +#ifdef OS_WIN32 c = getch(); +#else // OS_WIN32 + c = getc(stdin); +#endif // OS_WIN32 + if (c == 0x4B || c == 0x53) { // Backspace