match current ip in config file