Question : To clear or not to clear ARP cache

I recently just switch my isp's (this means a whole new set of external IP's and 1:1 nat's) and wanted to know if I should clear my arp cache on my cisco router. Im having a couple of strange routing and vpn issues.

Answer : To clear or not to clear ARP cache

A slight change in 'printAllEqual() will do that (taking in account to not add a trailing comma at the end):
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
size_t printAllEqual(const vector<StudentAttempt>& v, const StudentAttempt& sa, stringstream& ss ) {

  vector<StudentAttempt>::const_iterator i = v.begin();
  size_t sz = 0;
  bool bFirst = true;

  while (i != v.end()) {

    if(isDistEqual(*i,sa)) {
    
      if (!bFirst) ss << ',';
      ss << i->studentName;
      ++sz;
    }

    ++i; 
    bFirst = false;
  }

  return sz;
}
Random Solutions  
 
programming4us programming4us