r74209 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74208‎ | r74209 | r74210 >
Date:14:59, 3 October 2010
Author:mark
Status:deferred
Tags:
Comment:
Need to reinit self.toAdvertise as well, in order to remember the previous advertisements
Modified paths:
  • /trunk/routing/twistedbgp/src/bgp.py (modified) (history)

Diff [purge]

Index: trunk/routing/twistedbgp/src/bgp.py
@@ -1925,7 +1925,8 @@
19261926
19271927 BGPPeering.completeInit(self, protocol)
19281928
1929 - # Clear the existing set, it may get reused
 1929+ # (Re)init the existing set, they may get reused
 1930+ self.toAdvertise = self.advertised
19301931 self.advertised = set()
19311932
19321933 def sendAdvertisements(self):

Status & tagging log