From: bfernhomberg Date: Wed, 9 Jun 2004 01:10:07 +0000 (+0000) Subject: only write -noallmulti flag to atalkd.conf on linux X-Git-Tag: netatalk-2-0-beta2~39 X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=80791c766f89b414f6c4587ca74b0da3091c9156;p=netatalk.git only write -noallmulti flag to atalkd.conf on linux --- diff --git a/etc/atalkd/config.c b/etc/atalkd/config.c index b29f350e..c67573c8 100644 --- a/etc/atalkd/config.c +++ b/etc/atalkd/config.c @@ -1,5 +1,5 @@ /* - * $Id: config.c,v 1.13.6.4 2004-06-09 01:07:16 bfernhomberg Exp $ + * $Id: config.c,v 1.13.6.5 2004-06-09 01:10:07 bfernhomberg Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -248,9 +248,11 @@ int writeconf( cf ) if ( iface->i_flags & IFACE_DONTROUTE) { fprintf( newconf, " -dontroute"); } +#ifdef linux if ( !(iface->i_flags & IFACE_ALLMULTI)) { fprintf( newconf, " -noallmulti"); } +#endif fprintf( newconf, " -phase %d", ( iface->i_flags & IFACE_PHASE1 ) ? 1 : 2 );