summaryrefslogtreecommitdiffhomepage
path: root/packet
diff options
context:
space:
mode:
Diffstat (limited to 'packet')
-rw-r--r--packet/bgp/bgp.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/packet/bgp/bgp.go b/packet/bgp/bgp.go
index b7470529..17d96180 100644
--- a/packet/bgp/bgp.go
+++ b/packet/bgp/bgp.go
@@ -2745,6 +2745,8 @@ func parseDecValuesCmd(myCmd string, validationFunc func(int) error) ([][2]int,
decOperatorsAndValues = append(decOperatorsAndValues, operatorValue)
if myCmdChar == DECLogicOpNameMap[DEC_LOGIC_OP_AND] {
operatorValue[0] = int(bit)
+ } else {
+ operatorValue[0] = 0
}
operatorValue[1] = 0
index++