Fix typo s/memcpy/memcmp in trau_frame.c

This commit is contained in:
Andreas Eversberg 2009-12-21 01:18:44 +01:00 committed by Harald Welte
parent f77af1fb30
commit 56315f02bb
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ int trau_mux_input(struct gsm_e1_subslot *src_e1_ss,
return -EINVAL;
if (!ue->callref)
return -EINVAL;
if (memcpy(tf.c_bits, c_bits_check, sizeof(c_bits_check)))
if (memcmp(tf.c_bits, c_bits_check, sizeof(c_bits_check)))
DEBUGPC(DMUX, "illegal trau (C1-C5) %s\n",
hexdump(tf.c_bits, sizeof(c_bits_check)));
msg = msgb_alloc(sizeof(struct gsm_data_frame) + 33,