Setting max_packet_size of HA replica

A customer was asking me today that, they had set their configuration max_packet_size on the MySQL instance master, but were not sure how to do it for the replica. As I understand it, the configuration used by master is replicated along with the slave in HA MySQL.