2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-13 04:11:31 +00:00

Add clean to makefile

Additionally correct a small mistake
in copernicus.c
This commit is contained in:
Jarrod Johnson
2020-05-04 10:39:07 -04:00
parent f619b5933c
commit de201c9a3b
2 changed files with 4 additions and 2 deletions

View File

@@ -11,3 +11,6 @@ clortho: clortho.c
$(TARGETS): % : %.c
$(CC) $(CFLAGS) -o $@ $^
strip -s $@
clean:
rm $(TARGETS) clortho

View File

@@ -48,8 +48,7 @@ int add_macs(char* destination, int maxsize) {
} else if (lla->sll_hatype == ARPHRD_ETHER) {
snprintf(macaddr, 32, "/mac=%02x:%02x:%02x:%02x:%02x:%02x",
lla->sll_addr[0], lla->sll_addr[1], lla->sll_addr[2],
lla->sll_addr[3], lla->sll_addr[4], lla->sll_addr[5],
lla->sll_addr[6]
lla->sll_addr[3], lla->sll_addr[4], lla->sll_addr[5]
);
} else {
continue;