rtsol(8) does not work on Mac OS X
Originator: | derek.morr.test | ||
Number: | rdar://6077058 | Date Originated: | 15-Jul-2008 03:20 PM |
Status: | Open | Resolved: | |
Product: | Mac OS X | Product Version: | 10.5 |
Classification: | Other Bug | Reproducible: | Always |
15-Jul-2008 03:20 PM Derek Morr: Summary: The rtsol(8) command does not send an IPv6 Router Advertisement packet. Steps to reproduce: On a machine attached to an IPv6-enabled network, 1) Open a Terminal window. 2) Run `sudo rtsol -d en0` Expected Results: (From a FreeBSD 7.0 machine): # rtsol -d en0 checking if en0 is ready... en0 is ready send RS on en0, whose state is 2 received RA from fe80::205:85ff:fe30:141f on en0, state is 2 OtherConfigFlag on en0 is turned on stop timer en0 there is no timer Actual Results: $ sudo rtsol -d en0 rtsol: kernel is configured not to accept RAs checking if en0 is ready... en0 is ready shutdown: Socket is not connected rtsol: failed to setup for probing router Regression: N/A Notes: N/A
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
the reason of fail is in shutdown() function. You can easy remove this call and don't break the functionality of rtsold.
file network_cmds-329.2.2-patched/rtsol.tproj/probe.c @@ -83,10 +83,10 @@ }