Committed by
Gerrit Code Review
BGP connection collision detection.
Change-Id: I124674b79170450409df5d0f4b5fea5f9e11f1d9
Showing
2 changed files
with
3 additions
and
1 deletions
... | @@ -151,7 +151,9 @@ class BGPNotificationMsgVer4 implements BGPNotificationMsg { | ... | @@ -151,7 +151,9 @@ class BGPNotificationMsgVer4 implements BGPNotificationMsg { |
151 | 151 | ||
152 | @Override | 152 | @Override |
153 | public Builder setData(byte[] data) { | 153 | public Builder setData(byte[] data) { |
154 | - this.data = data; | 154 | + if (data != null) { |
155 | + this.data = data; | ||
156 | + } | ||
155 | return this; | 157 | return this; |
156 | } | 158 | } |
157 | 159 | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment