Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOS and TTL fields ignored in devip.c #32

Open
GoogleCodeExporter opened this issue Mar 18, 2015 · 0 comments
Open

TOS and TTL fields ignored in devip.c #32

GoogleCodeExporter opened this issue Mar 18, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

writing 'TTL n' or 'TOS n' in con.cfd is ignored thus ineffective.

A relevant implementation would preferably alter same parameter for hosting OS


Mac OS X / Acme SAC


#if !defined(IP_HDRINCL) && defined(IP_TTL)
    if (setsockopt(sndsock, IPPROTO_IP, IP_TTL,
        (char *)&ttl, sizeof(ttl)) < 0) {
        Fprintf(stderr, "%s: setsockopt ttl %d: %s\n",
            prog, ttl, strerror(errno));
        exit(1);
    }



Original issue reported on code.google.com by frederic...@gmail.com on 18 Jan 2012 at 4:17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant