When a interface type is changed, old configuration remains. When moving from static ip to ppp, it kepts the static ip configured on interface, when moving from ppp to static ip, it doesn't kill mpd. Implement interface_clean() to make sure only current configuration is in place
Update etc/inc/captiveportal.inc
Add portal_hostname_from_client_ip function
Merge pull request #330 from bcyrill/patch-9

Add portal_hostname_from_client_ip function
Merge pull request #329 from bcyrill/patch-8

Update etc/inc/captiveportal.inc
Update to master