commit 1c76f28399ed2d56c46902a0ce62e0c33e0234a0
Author: Tomasz Pala <[email protected]>
Date:   Fri Aug 5 19:19:46 2016 +0200

    when MULTICAST is specified, use it's value literal
    - this allows configurations like MULTICAST="off allmulticast on",
    when no MULTICAST provided, do not disable it on VLAN interfaces

 lib/functions.network | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/functions.network b/lib/functions.network
index a68ed76..bb7a525 100644
--- a/lib/functions.network
+++ b/lib/functions.network
@@ -232,11 +232,11 @@ setup_ip_param ()
        esac
 
        # Multicast ready devices
-       if is_yes "$MULTICAST"; then
-               MULTICAST="on"
+       if [ -n "$MULTICAST" ]; then
+               MULTICAST="$MULTICAST"
        else
                case "$DEVICETYPE" in
-                 eth|br)
+                 eth|br|vlan)
                        MULTICAST="on"
                        ;;
                  *)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/rc-scripts.git/commitdiff/1c76f28399ed2d56c46902a0ce62e0c33e0234a0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to