Page MenuHomeFreeBSD

D48334.id148809.diff
No OneTemporary

D48334.id148809.diff

Index: share/examples/jails/jng
===================================================================
--- share/examples/jails/jng
+++ share/examples/jails/jng
@@ -314,6 +314,8 @@
ngctl name $iface:lower ${iface}bridge || return
fi
+ mtu=$( ifconfig ${iface} | head -1 | sed -e 's/^.*mtu //') || return
+
# Optionally create a secondary bridge
if [ "$bridge" != "bridge" ] &&
! ngctl info "$iface$bridge:" > /dev/null 2>&1
@@ -346,6 +348,7 @@
echo $2 ) || return
ngctl name "$iface$bridge:link$num" $eiface || return
ifconfig $new name $eiface || return
+ ifconfig $eiface mtu $mtu || return
ifconfig $eiface up || return
#

File Metadata

Mime Type
text/plain
Expires
Fri, May 15, 12:45 AM (2 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33068485
Default Alt Text
D48334.id148809.diff (663 B)

Event Timeline