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:
@@ -11,3 +11,6 @@ clortho: clortho.c
|
||||
$(TARGETS): % : %.c
|
||||
$(CC) $(CFLAGS) -o $@ $^
|
||||
strip -s $@
|
||||
|
||||
clean:
|
||||
rm $(TARGETS) clortho
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user