<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Hi everyone,<br><br>I am trying to do something that I think that should be so easy but I am not success yet.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">

In IPv4 I need to know if there is any possibility to execute OS commands and receive its output (in filters or functions) owing to receive the list of dev names to accept (concretely in a OpenWRT shell or similar). An example of the routes I want to accept is:<br>

</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br><a href="http://10.201.192.0/24">10.201.192.0/24</a> dev bmxOut_GSoC-0a  proto static  metric 1024 <br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">

Otherwise, my other possiblity is to use statically the device name: bmx_____, using the pattern "bmx*" to filter them (it is possible?), but I am not really sure if there is a "dev" option, if I may use "ifname" (it is outgoing iface, so I suppose that no) or something like to check it. <br clear="all">

</div><br><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0);display:inline">Best regards,​</div><br><br>-- <br><div dir="ltr">Eloi Carbó</div>
</div>