diff options
Diffstat (limited to 'gre.c')
-rw-r--r-- | gre.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -165,6 +165,8 @@ int main(int argc, char **argv) remote_any = is_any(&remote); if (remote_any) { + fprintf(stderr, "remote any\n"); + if (type == IFF_TUN) { fprintf(stderr, "tun required specifying remote\n"); @@ -345,6 +347,12 @@ static int gre_any(const uint8_t *buf, int n) return -1; } } + + if (remote_any) + { + // TODO Add header + } + return write(tun, buf, n); } |