How to bind ipfs to a specific interface?

I have a raspberry pi with following network connections.
wlan0 - internet provided via public wifi.
and
eth0 - my private network, which also has internet access.

I want to make sure that go-ipfs does not use eth0 (my private network), and only uses wlan0 the public internet.
How would I go about this.

Edit the configuration and replace IP in the swarm listen addresses (0.0.0.0) with the IP of the network interface it should listen on.