|
|
| version 1.1, 2012/02/21 23:32:47 | version 1.1.1.3, 2016/11/01 09:56:12 |
|---|---|
| Line 891 BundUpdateParams(Bund b) | Line 891 BundUpdateParams(Bund b) |
| } else if (!b->peer_mrru) { /* If no multilink, use peer MRU */ | } else if (!b->peer_mrru) { /* If no multilink, use peer MRU */ |
| mtu = MIN(b->links[the_link]->lcp.peer_mru, | mtu = MIN(b->links[the_link]->lcp.peer_mru, |
| b->links[the_link]->type->mtu); | PhysGetMtu(b->links[the_link], 0)); |
| } else { /* Multilink, use peer MRRU */ | } else { /* Multilink, use peer MRRU */ |
| mtu = MIN(b->peer_mrru, MP_MAX_MRRU); | mtu = MIN(b->peer_mrru, MP_MAX_MRRU); |
| Line 1135 BundCreate(Context ctx, int ac, char *av[], void *arg) | Line 1135 BundCreate(Context ctx, int ac, char *av[], void *arg) |
| /* Setup netgraph stuff */ | /* Setup netgraph stuff */ |
| if (BundNgInit(b) < 0) { | if (BundNgInit(b) < 0) { |
| gBundles[b->id] = NULL; | gBundles[b->id] = NULL; |
| IfaceDestroy(b); | |
| Freee(b); | Freee(b); |
| Error("Bundle netgraph initialization failed"); | Error("Bundle netgraph initialization failed"); |
| } | } |
| Line 1317 BundStat(Context ctx, int ac, char *av[], void *arg) | Line 1318 BundStat(Context ctx, int ac, char *av[], void *arg) |
| /* Show configuration */ | /* Show configuration */ |
| Printf("Configuration:\r\n"); | Printf("Configuration:\r\n"); |
| #ifdef SIOCSIFDESCR | |
| Printf("\tDesc. template : %s\r\n", | |
| sb->iface.conf.ifdescr ? sb->iface.conf.ifdescr : "<none>"); | |
| Printf("\tDescription : %s\r\n", | |
| sb->iface.ifdescr ? sb->iface.ifdescr : "<none>"); | |
| #endif | |
| Printf("\tRetry timeout : %d seconds\r\n", sb->conf.retry_timeout); | Printf("\tRetry timeout : %d seconds\r\n", sb->conf.retry_timeout); |
| Printf("\tBW-manage:\r\n"); | Printf("\tBW-manage:\r\n"); |
| Printf("\t Period : %d seconds\r\n", sb->conf.bm_S); | Printf("\t Period : %d seconds\r\n", sb->conf.bm_S); |