diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-05-27 10:44:56 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-05-27 10:44:56 -0700 |
commit | 7a4c2c1955aa1a8b3d5346229d09b993eaa5a659 (patch) | |
tree | bbd628941aeac174d0df0da5a48c9988e4af567f /src/6to4.c | |
parent | 7aaaeaf96cfd4836ff524b7e56b293eb00f8656c (diff) | |
download | connman-7a4c2c1955aa1a8b3d5346229d09b993eaa5a659.tar.gz connman-7a4c2c1955aa1a8b3d5346229d09b993eaa5a659.tar.bz2 connman-7a4c2c1955aa1a8b3d5346229d09b993eaa5a659.zip |
6to4: Remove unused variables
Diffstat (limited to 'src/6to4.c')
-rw-r--r-- | src/6to4.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -464,7 +464,7 @@ int __connman_6to4_probe(struct connman_service *service) { struct connman_ipconfig *ip4config, *ip6config; enum connman_ipconfig_method method; - unsigned int a, b, c, d; + unsigned int a, b; struct in_addr ip4addr; in_addr_t addr; const char *address; @@ -502,8 +502,6 @@ int __connman_6to4_probe(struct connman_service *service) a = (addr & 0xff000000) >> 24; b = (addr & 0x00ff0000) >> 16; - c = (addr & 0x0000ff00) >> 8; - d = addr & 0x000000ff; /* 6to4 tunnel is only usable if we have a public IPv4 address */ if (a == 10 || (a == 192 && b == 168) || |