def METHOD_NAME(port, sys_bind, sys_pt):
    oms_version = get_oms_version()
    if (oms_version == None):
        return ERR_OMS_INSTALL
    # get number of '@'s in front of port
    corr_pt = None
    if (comp_versions_ge(oms_version, '1.12')):
        if (sys_pt == 'udp'):
            corr_pt = '@'
        elif (sys_pt == 'tcp'):
            corr_pt = '@@'
    elif (sys_pt in ['udp','tcp']):
        corr_pt = '@'
    # verify protocol type is valid
    if (corr_pt == None):
        error_info.append(("protocol type",SYSLOGCONF_PATH))
        return ERR_INFO_MISSING
    # syslog destination file is sending to right port
    corr_port = corr_pt + sys_bind
    if (port.startswith(corr_port)):
        return NO_ERROR
    # wrong number of '@'s
    pt_count = port.count('@')
    corr_pt_count = corr_pt.count('@')
    if (pt_count != corr_pt_count):
        pt = port[:pt_count]
        error_info.append((sys_pt, corr_pt, pt, SYSLOGDEST_PATH))
        return ERR_PT
    # wrong port
    curr_bind = (port[pt_count+1:]).split(':')[0]
    if (curr_bind != sys_bind):
        error_info.append((sys_bind, curr_bind, SYSLOGDEST_PATH))
        return ERR_PORT_MISMATCH
    # some other error?
    error_info.append((SYSLOGCONF_PATH, SYSLOGDEST_PATH))
    return ERR_PORT_SETUP