| Summary: | sr driver ignores IFF_LINK2 | IFF_DEBUG when first time ifconfig | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | fujiwara <fujiwara> | ||||
| Component: | kern | Assignee: | John Hay <jhay> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.0-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->feedback I fixed it in rev. 1.35 of if_sr.c. Can you check if it fix it for you too, please? Responsible Changed From-To: freebsd-bugs->jhay I'll look at it. State Changed From-To: feedback->closed Fixed in -current and merged to 4.0-stable. |
write to rc.conf: network_interfaces="sr0 ..." ifconfig_sr0="inet 192.168.1.1 192.168.1.2 netmask 0xfffffffc link2 debug up" but then, ifconfig sr0 shows without LINK2 and DEBUB So, CISCO_HDLC connection is not done. Fix: firsttime sr_ioctl() calls sppp_attach, sppp_attach destroys ifp->if_flags So, sr_ioctl ignores LINK2 and DEBUG flags my temporary patch is here. (if_spppsubr.c:sr_attach())