We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 514dd42 commit 0aefdfeCopy full SHA for 0aefdfe
src/bacnet/basic/object/netport.c
@@ -2096,10 +2096,8 @@ bool Network_Port_Remote_BBMD_BIP_Port_Set(
2096
if (Object_List[index].Network.IPv4.BBMD_Address.port != value) {
2097
Object_List[index].Changes_Pending = true;
2098
}
2099
- if (value != 0) {
2100
- Object_List[index].Network.IPv4.BBMD_Address.port = value;
2101
- status = true;
2102
- }
+ Object_List[index].Network.IPv4.BBMD_Address.port = value;
+ status = true;
2103
2104
2105
0 commit comments