## -*- mode: shell-script; -*- 
##
## To be able to make changes to the part of configuration created
## from this configlet you need to copy this file to the directory
## fwbuilder/configlets/solaris/ in your home directory and modify it.
## Double "##" comments are removed during processing but single "#"
## comments are be retained and appear in the generated script. Empty
## lines are removed as well.  
##
## Configlets support simple macro language with these constructs:
## {{$var}} is variable expansion
## {{if var}} is conditional operator.

{{if have_solaris_ip_forward}}ndd -set /dev/ip ip_forwarding {{$solaris_ip_forward}}{{endif}}
{{if have_solaris_ip_ignore_redirect}}ndd -set /dev/ip ip_ignore_redirect  {{$solaris_ip_ignore_redirect}}{{endif}}
{{if have_solaris_ip_respond_to_echo_broadcast}}ndd -set /dev/ip ip_respond_to_echo_broadcast  {{$solaris_ip_respond_to_echo_broadcast}}{{endif}}
{{if have_solaris_ip_forward_directed_broadcasts}}ndd -set /dev/ip ip_forward_directed_broadcasts  {{$solaris_ip_forward_directed_broadcasts}}{{endif}}
{{if have_solaris_ip_forward_src_routed}}ndd -set /dev/ip ip_forward_src_routed  {{$solaris_ip_forward_src_routed}}{{endif}}

