From 434fd34b02734211930580cc87b1aa117b19ba15 Mon Sep 17 00:00:00 2001 From: skarg Date: Fri, 6 Oct 2006 00:52:25 +0000 Subject: [PATCH] Corrected the server flag to actually work correctly. --- bacnet-stack/abort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/abort.c b/bacnet-stack/abort.c index 5ca69cf9..187abeab 100644 --- a/bacnet-stack/abort.c +++ b/bacnet-stack/abort.c @@ -44,7 +44,7 @@ int abort_encode_apdu(uint8_t * apdu, if (apdu) { if (server) - apdu[0] = PDU_TYPE_ABORT & 1; + apdu[0] = PDU_TYPE_ABORT | 1; else apdu[0] = PDU_TYPE_ABORT; apdu[1] = invoke_id;