the names for iid_from_addr and iid_to_addr functions in the else-block were switched around, so this fixes that