/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

  • Committer: Björn Påhlsson
  • Date: 2010-09-07 18:41:35 UTC
  • mfrom: (417 mandos)
  • mto: (237.4.3 mandos-release)
  • mto: This revision was merged to the branch mainline in revision 421.
  • Revision ID: belorn@fukt.bsnet.se-20100907184135-hcd2aou8r2trz8cy
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
        self.group.Commit()
195
195
    def entry_group_state_changed(self, state, error):
196
196
        """Derived from the Avahi example code"""
197
 
        logger.debug(u"Avahi state change: %i", state)
 
197
        logger.debug(u"Avahi entry group state change: %i", state)
198
198
        
199
199
        if state == avahi.ENTRY_GROUP_ESTABLISHED:
200
200
            logger.debug(u"Zeroconf service established.")
213
213
            self.group = None
214
214
    def server_state_changed(self, state):
215
215
        """Derived from the Avahi example code"""
 
216
        logger.debug(u"Avahi server state change: %i", state)
216
217
        if state == avahi.SERVER_COLLISION:
217
218
            logger.error(u"Zeroconf server name collision")
218
219
            self.remove()