summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/fsm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/fsm.go b/server/fsm.go
index 9db3a552..2c2128cb 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -1114,6 +1114,8 @@ func (h *FSMHandler) opensent() (bgp.FSMState, FsmStateReason) {
fsm.marshallingOptions = &bgp.MarshallingOption{
AddPath: fsm.rfMap,
}
+ } else {
+ fsm.marshallingOptions = nil
}
// calculate HoldTime