esac
###--------------------------------------------------------------------------
+### Bring the interface up.
+
+case $haveaddr4,$haveaddr6 in
+ nil,nil)
+ ;;
+ *)
+ case "${P_MTU+set}" in
+ set)
+ mtu=$P_MTU;;
+ *)
+ pathmtu=$(pathmtu "$addr")
+ mtu=$(expr "$pathmtu" - 33 - $A_CIPHER_BLKSZ - $A_MAC_TAGSZ)
+ ;;
+ esac
+ ip link set dev "$ifname" up mtu "$mtu"
+ ;;
+esac
+
+###--------------------------------------------------------------------------
### Set up routing.
## Split the routes into v4 and v6 lists.
esac
###--------------------------------------------------------------------------
-### Bring the interface up.
-
-case $haveaddr4,$haveaddr6 in
- nil,nil)
- ;;
- *)
- case "${P_MTU+set}" in
- set)
- mtu=$P_MTU;;
- *)
- pathmtu=$(pathmtu "$addr")
- mtu=$(expr "$pathmtu" - 33 - $A_CIPHER_BLKSZ - $A_MAC_TAGSZ)
- ;;
- esac
- ip link set dev "$ifname" up mtu "$mtu"
- ;;
-esac
-
-###--------------------------------------------------------------------------
### Maybe invoke a follow-on script.
case "${P_IFUPEXTRA+set}" in