Hmmm... apparently this is not the right solution, as the wifi0 interface gets renamed wlan0ap too. :(
It should be checked whether the type is 1 before writing the rule at all.
Hmmm... apparently this is not the right solution, as the wifi0 interface gets renamed wlan0ap too. :(
It should be checked whether the type is 1 before writing the rule at all.