| Anonymous | Login | Signup for a new account | 11-10-2008 11:14 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001317 | [BusyBox] Networking Support | trivial | always | 04-16-07 14:57 | 04-16-07 16:17 | ||||
| Reporter | firetwister | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0001317: ether-wake will send broadcasts if not told so | ||||||||
| Description |
ether-wake will send broadcasts if any flag is specified. It should only send broadcasts if -b is supplied. At line 125 the flags get parsed flags = getopt32(argc, argv, "bi:p:", &ifname, &pass); At line 141 the return value of getopt32 will get assigned to 'get_fill', which will set the broadcast address if flags != 0. pktsize = get_fill(outpack, &eaddr, flags /*& 1 [OPT_BROADCAST]*/); Simply move the '/*' 3 characters to the right and it works ;-) This bug seems to be very old, at least the oldest and the latest version in svn are affected. |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |