diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-11-23 19:25:10 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-11-23 19:25:10 +0100 |
commit | 1ab89614502485091048a3d681eef370649305c1 (patch) | |
tree | c9000c83b878799f4960ff03172420c58c1b209f /src | |
parent | 7eaf6fb9f9e2081e1742519e6da20b93ed314eaa (diff) |
bss_patch: Remove magic number and use define for BSSAP management
Diffstat (limited to 'src')
-rw-r--r-- | src/bss_patch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bss_patch.c b/src/bss_patch.c index 4076bc3..242b72d 100644 --- a/src/bss_patch.c +++ b/src/bss_patch.c @@ -1,7 +1,7 @@ /* Patch GSM 08.08 messages for the network and BS */ /* - * (C) 2010 by Holger Hans Peter Freyther <zecke@selfish.org> - * (C) 2010 by On-Waves + * (C) 2010-2011 by Holger Hans Peter Freyther <zecke@selfish.org> + * (C) 2010-2011 by On-Waves * All Rights Reserved * * This program is free software: you can redistribute it and/or modify @@ -130,7 +130,7 @@ int bss_patch_filter_msg(struct msgb *msg, struct sccp_parse_result *sccp) return -1; } - if (msg->l3h[0] != 0) { + if (msg->l3h[0] != BSSAP_MSG_BSS_MANAGEMENT) { return -1; } |