Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156511029
D48334.id154928.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
625 B
Referenced Files
None
Subscribers
None
D48334.id154928.diff
View Options
diff --git a/share/examples/jails/jng b/share/examples/jails/jng
--- a/share/examples/jails/jng
+++ b/share/examples/jails/jng
@@ -314,6 +314,8 @@
ngctl name $iface:lower ${iface}bridge || return
fi
+ mtu=$(ifconfig ${iface} | sed -n '1s/^.*mtu //p;') || 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
Details
Attached
Mime Type
text/plain
Expires
Fri, May 15, 6:52 AM (8 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33050642
Default Alt Text
D48334.id154928.diff (625 B)
Attached To
Mode
D48334: jail: copy mtu settings to vnet interface
Attached
Detach File
Event Timeline
Log In to Comment