diff options
Diffstat (limited to 'openbsc/src/ipaccess/abisip-find.c')
-rw-r--r-- | openbsc/src/ipaccess/abisip-find.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/ipaccess/abisip-find.c b/openbsc/src/ipaccess/abisip-find.c index 87c6e503f..9fe7df680 100644 --- a/openbsc/src/ipaccess/abisip-find.c +++ b/openbsc/src/ipaccess/abisip-find.c @@ -138,8 +138,8 @@ static int read_response(int fd) if (len < 0) return len; - /* 2 bytes length, 1 byte protocol (0xfe) */ - if (buf[2] != 0xfe) + /* 2 bytes length, 1 byte protocol */ + if (buf[2] != IPAC_PROTO_IPACCESS) return 0; if (buf[4] != IPAC_MSGT_ID_RESP) |