Use if_initbaudrate().

This commit is contained in:
John Baldwin 2012-10-18 15:43:19 +00:00
parent 9a41df2a0e
commit 989343faad

View File

@ -876,7 +876,7 @@ ipoib_intf_alloc(const char *name)
dev->if_output = ipoib_output;
dev->if_input = ipoib_input;
dev->if_resolvemulti = ipoib_resolvemulti;
dev->if_baudrate = IF_Gbps(10UL);
if_initbaudrate(dev, IF_Gbps(10));
dev->if_broadcastaddr = priv->broadcastaddr;
dev->if_snd.ifq_maxlen = ipoib_sendq_size * 2;
sdl = (struct sockaddr_dl *)dev->if_addr->ifa_addr;