]> git.llucax.com Git - software/pymin.git/blob - pymin/services/ip/templates/route_add
Convert Rule to Item for validation in firewall service handler.
[software/pymin.git] / pymin / services / ip / templates / route_add
1 %if dev is not None:
2 ip route add dev ${dev} ${net_addr}/${prefix} via ${gateway}
3 %else:
4 ip route add ${net_addr}/${prefix} via ${gateway}
5 %endif