add protocol match and quit