#18357: Adding a source to a static route doesn't work
----------------------+------------------------
 Reporter:  peterv@…  |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:            |
----------------------+------------------------
 Adding a source option to a static route in /etc/config/network results in
 the route being added, but without the source. For example, adding

 {{{
     config route 'myroute'
         option interface 'wan'
         option target '192.168.20.0/24'
         option source '192.168.8.1'
 }}}

 results in

 {{{
 # ip route show
 ...
 192.168.20.0/24 dev br-wan  proto static  scope link
 }}}

 Note that there's no 'src' in that line.

--
Ticket URL: <https://dev.openwrt.org/ticket/18357>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to