]> rtime.felk.cvut.cz Git - can-eth-gw.git/commitdiff
Fix device name
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 16:29:32 +0000 (17:29 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 16:29:32 +0000 (17:29 +0100)
utils/cegw/cegw.c

index 110f78e209575aa90053dcce319030c89bd1b578..5a9627a060c659b24c812cb321b4fb5ff18bcf1a 100644 (file)
@@ -213,7 +213,7 @@ int main(int argc, char* argv[])
        }
 
        /* send it to kernel gateway */
-       fd = open("/dev/cegw", O_RDONLY);
+       fd = open("/dev/canethgw", O_RDONLY);
        if (fd == -1) {
                fprintf(stderr, "error: could not open device file\n");
                free(gwctl);