API@PHP issues with SET

Hi,

I’m tring to run this:

	$API->write('/ip/firewall/nat/set', false);
	$API->write('=disalbed=yes', false);	
	$API->write('=.id=*4');

With no result. Any output with:

$API->debug = true;

Can you help?

M.

disalbed

???

OMG, Normis thanks - i had bad day today :wink:

M.

help

interface bridge filter set numbers=0 action=drop


$API->write(‘/interface/bridge/filter/set’, false);
$API->write(‘=action=drop’, false);
$API->write(‘=.id=0’);


this wrong