diff options
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ippp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp index fd1b8bdb..7a72a333 100755 --- a/sysconfig/network-scripts/ifup-ippp +++ b/sysconfig/network-scripts/ifup-ippp @@ -283,7 +283,18 @@ function addprovider() [ -n "$MTU" ] && options="$options mtu $MTU" # set CBCP protocoll - [ "$CBCP" = "on" ] && options="$options callback 6" + if [ "$CBCP" = "on" ] ; then + if [ -n "$CBCP_MSN" ] ; then + # User managed callback + options="$options callback $CBCP_MSN" + else + # admin managed callback, it's enabled by default + options="$options callback 6" + fi + else + # Disable CBCP + options="$options -callback-cbcp" + fi # set CCP protocoll [ "$CCP" = "off" ] && options="$options noccp" |