/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 plugins.d/mandos-client.c

  • Committer: Teddy Hogeborn
  • Date: 2014-10-08 21:07:10 UTC
  • Revision ID: teddy@recompile.se-20141008210710-x0rg80z2aabdg05d
Handle local Zeroconf service name collisions.

Service name collisions from other servers have always been handled,
but not *local* name collisions from services on the same host.

* mandos (AvahiService/rename): Handle local Zeroconf service name
                                collision.
  (AvahiServiceToSyslog.rename): Pass on any extra arguments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1902
1902
int main(int argc, char *argv[]){
1903
1903
  mandos_context mc = { .server = NULL, .dh_bits = 1024,
1904
1904
                        .priority = "SECURE256:!CTYPE-X.509:"
1905
 
                        "+CTYPE-OPENPGP:!RSA", .current_server = NULL,
 
1905
                        "+CTYPE-OPENPGP", .current_server = NULL,
1906
1906
                        .interfaces = NULL, .interfaces_size = 0 };
1907
1907
  AvahiSServiceBrowser *sb = NULL;
1908
1908
  error_t ret_errno;