Matt,
Rather simple:
> opt_req.opt.opt_hdr.len = sizeof(opt_req.opt.opt_val);
the above line is incorrect, try:
opt_req.opt.opt_hdr.len = sizeof(opt_req.opt);
because len must be the length of header and the option value, not just the
length of the option value (see "OPTIONS" under man 3 t_optmgmt).
-- brian
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
[EMAIL PROTECTED] ¦ world; the unreasonable one persists in ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
_______________________________________________
Linux-streams mailing list
[email protected]
http://www.openss7.org/mailman/listinfo/linux-streams