MANET stands for Mobile ad hoc network and is an infrastructure-less network and it is having ability to configure itself. The topology of network changes dynamically. It consists of wireless mobile nodes which communicate with each other without any centralized administration. In MANET different types of routing protocols are introduced. These protocols can be categorized into reactive, proactive and hybrid routing protocols. In this paper, AODV and DSDV protocols are analyzed in terms of routing overhead, packet delivery ratio, throughput and end to end delay. The performance of AODV is better than DSDV in terms of throughput, packet delivery ratio and routing overhead. As the DSDV is a proactive routing protocol, it is having a less end to end delay as compare to AODV. The performance of AODV gets affected by black hole attack. This paper gives the modification in AODV which helps to improve the performance of AODV in presence of black hole attack.