diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-10 19:04:00 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-10 19:04:00 -0400 |
commit | e37fd0c607e3406aeab80b459008b3197341667e (patch) | |
tree | 4c395173fdca184630df14ab285ffe27f5139193 /core | |
parent | 6c2b2806d10881a4c44a47e877898e9de1cc63c9 (diff) |
That define doesn't belong here.
Diffstat (limited to 'core')
-rw-r--r-- | core/net_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/net_crypto.c b/core/net_crypto.c index 1c56b95a..406926b7 100644 --- a/core/net_crypto.c +++ b/core/net_crypto.c | |||
@@ -521,7 +521,7 @@ static void receive_crypto(void) | |||
521 | 521 | ||
522 | } | 522 | } |
523 | if (crypto_connections[i].status == CONN_NOT_CONFIRMED) { | 523 | if (crypto_connections[i].status == CONN_NOT_CONFIRMED) { |
524 | if (id_packet(crypto_connections[i].number) == CONN_ESTABLISHED) { | 524 | if (id_packet(crypto_connections[i].number) == 3) { |
525 | uint8_t temp_data[MAX_DATA_SIZE]; | 525 | uint8_t temp_data[MAX_DATA_SIZE]; |
526 | uint8_t data[MAX_DATA_SIZE]; | 526 | uint8_t data[MAX_DATA_SIZE]; |
527 | int length = read_packet(crypto_connections[i].number, temp_data); | 527 | int length = read_packet(crypto_connections[i].number, temp_data); |