-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch to : Arp table drop the VPCS if there is some rows in arp-table #49
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- command.c : static int show_ip(int argc, char **argv) - dump.c : int dmp_packet(const struct packet *m, const int flag)
…nts are unnecessary. - command.c : int run_set(int argc, char **argv)
- command.c : j : int run_tracert(int argc, char **argv) - command6 : p : int run_ping6(int argc, char **argv) - packets.c : p : int upv4(pcs *pc, struct packet **m0) - tcp.c : tv : int tcp_close(pcs *pc, int ipv)
dhcp.c : i : int dhcp_rebind(pcs *pc) dhcp.c : ok : int dhcp_rebind(pcs *pc) packets6.c : j : u_char *nbDiscovery(pcs *pc, ip6 *dst) readline : start : int findhistory(struct rls *rls, int start)
- packetlife : i and data : int response(struct packet *m, sesscb *sesscb) - packetlife6 : i and data : int response6(struct packet *m, sesscb *sesscb) - remote.c : i and outbuf : int open_remote(int fdio, const char *destip, const u_short destport)
- vpcs.c : void parse_cmd(char *cmdstr)
readline : int main(int argc, char **argv)
- command.c : int run_dhcp(int argc, char **argv) - utils.c : char *getkv(char *str) - help.c : -- int help_echo(int argc, char **argv) -- int help_hist(int argc, char **argv) -- int help_neighbor(int argc, char **argv) -- int help_version(int argc, char **argv) -- int help_shut(int argc, char **argv) - getopt.c : int arg_to_int(const char* arg, int min, int max, int defalt)
- On MAC OS, the line "sprintf(buf + j * 3, "%2.2x:", pc->ipmac4[i].mac[j]);" crashs. - Perhaps that the snprintf of MACOS adds the '\0' after the last '01:' (the last byte of the mac address) and is out the array
Thanks, I will review soon. |
Great job, thank you 👍 I will release a new version of vpcs soon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
issue #45