/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: Teddy Hogeborn
  • Date: 2009-06-02 11:09:07 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090602110907-utt933ql22lq8j7l
* plugins.d/mandos-client.c (main): Take down network interface on
                                    exit if it was brought up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
811
811
                    client = c
812
812
                    break
813
813
            else:
814
 
                ipc.write(u"NOTFOUND %s %s\n"
815
 
                          % (fpr, unicode(self.client_address)))
 
814
                ipc.write(u"NOTFOUND %s\n" % fpr)
816
815
                session.bye()
817
816
                return
818
817
            # Have to check if client.still_valid(), since it is
901
900
    def process_request(self, request, client_address):
902
901
        """Overrides and wraps the original process_request().
903
902
        
904
 
        This function creates a new pipe in self.pipe
 
903
        This function creates a new pipe in self.pipe 
905
904
        """
906
905
        self.pipe = os.pipe()
907
906
        super(ForkingMixInWithPipe,