diff -Nur -x '*.orig' -x '*.rej' smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/chilli.conf/95macallowed mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/chilli.conf/95macallowed --- smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/chilli.conf/95macallowed 1970-01-01 01:00:00.000000000 +0100 +++ mezzanine_patched_smeserver-coova-chilli-0.2/root/etc/e-smith/templates/etc/chilli.conf/95macallowed 2010-04-22 19:43:14.000000000 +0200 @@ -0,0 +1,15 @@ + +macallowlocal +{ +my @macalloweds = split(/[;,]/, ($chilli{'macallowed'} || '')); + +$OUT = ''; + +# TODO: check the entry with a good regex + +foreach (@macalloweds){ + $_ =~ s/:/-/g; + $OUT .= 'macallowed '.uc($_)."\n"; +} + +}