walterdejong/firewater — Issue #4: ifdef only works around rules
Author: walterdejong
Created: 2011-10-20 11:50:58+00:00
State: open

ifdef doesn't work as expected when you do something like this:

ifdef MYDEF
iface public eth0
endif

ifndef MYDEF
iface public eth1
endif

It will produce an error and say that interface 'public' is already defined.
Apparently the ifdef only works around rules, not around definitions.