interfaceDown and interfaceIsUp functions added.