summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-10-05 12:55:57 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2007-10-05 12:55:57 +0000
commit179c71478f547d91105470e1e3659225ef5baa02 (patch)
treeaa6d362d31a0b0e2e866983ec61521fc8052788c
parentd07267830499e2fb627c54243948872e9af5fb56 (diff)
downloadcanutils-179c71478f547d91105470e1e3659225ef5baa02.tar.gz
remove testing artefact
git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-2.0-trunk@82 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
-rw-r--r--src/canconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/canconfig.c b/src/canconfig.c
index bc865a5..9c9d4ae 100644
--- a/src/canconfig.c
+++ b/src/canconfig.c
@@ -330,14 +330,14 @@ int main(int argc, char *argv[])
{
if ((argc < 2) || !strcmp(argv[1], "--help"))
help();
-#if 1
+
if ((s = socket(AF_CAN, SOCK_RAW, CAN_RAW)) < 0) {
perror("socket");
exit(EXIT_FAILURE);
}
strncpy(ifr.ifr_name, argv[1], IFNAMSIZ);
-#endif
+
if (argc < 3)
cmd_show_interface(argc, argv);