summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2009-01-30 13:53:49 +0000
committerDimitri Sokolyuk <demon@dim13.org>2009-01-30 13:53:49 +0000
commitb139a006a7c386ce6aab264b07cfabc3348e7298 (patch)
tree64b79f1c38edfd48e708e8b48d4dc35c7d66dc95
parentf2651cb0140ba345f8cf89257d0e3473e6cda570 (diff)
replace dead mac with new one, add license
-rw-r--r--wakeup.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/wakeup.c b/wakeup.c
index 0f4c1ee..5097105 100644
--- a/wakeup.c
+++ b/wakeup.c
@@ -1,3 +1,20 @@
+/* $Id$ */
+/*
+ * Copyright (c) 2004 Dimitri Sokolyuk <sokolyuk@gmail.com>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -7,7 +24,7 @@
#include <sys/types.h>
#include <err.h>
-#define DEFAULTMAC "00:0a:5e:09:6a:25"
+#define DEFAULTMAC "00:e0:c5:c4:09:f1"
#define DEFAULTNET "10.0.0.255"
int parsemac(unsigned char *, char *);