A major outer-membrane protein functions as a porin in Haemophilus influenzae.